HEX atlas value

#1F7A23

#1F7A23 is a cool green HEX color close to Forest Green. According to Colors Encyclopedia, it converts to RGB 31, 122, 35, HSL 123, 59%, 30%, has luminance 0.1433, and belongs to the earth tone and jewel tone groups.

#1F7A23 Sample readable text
HEX #1F7A23
RGB rgb(31, 122, 35)
HSL hsl(123 59% 30%)
CMYK cmyk(75, 0, 71, 52)
Luminance 0.1433
Contrast Black 3.87:1White 5.43:1

CSS

--color-1f7a23: #1F7A23;
.background-1f7a23 { background-color: #1F7A23; }
.text-1f7a23 { color: #1F7A23; }

Machine-readable data

Machine-Readable HEX Data (JSON)

Structured HEX color data for conversion, WCAG checks, CSS generation, automation, and AI ingestion.

AI-Ready Dataset v1.0.0
Luminance0.1433
Black text3.87:1AA Fail
White text5.43:1AA Pass
hexCanonical HEX value
rgbRed, green, blue channels
hslHue, saturation, lightness
cmykApproximate print conversion
wcagAA and AAA contrast options
harmoniesMathematical harmony sets
variantsGenerated tone variants
nearestColorsKnowledge graph neighbors
Download JSON Open API
Structured sections
Color systems
{"hex":"#1F7A23","rgb":[31,122,35],"hsl":[123,59,30],"cmyk":[75,0,71,52],"luminance":0.1433,"contrast":{"black":3.87,"white":5.43}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":[]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":3.87,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":5.43,"wcagAA":true,"wcagAAA":false}]
Accessible alternatives
[{"name":"#0D310E","hex":"#0D310E","family":"green","bestTextColor":"#FFFFFF","contrastBlack":1.46,"contrastWhite":14.36,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#7A1F75","hex":"#7A1F75","family":"pink","bestTextColor":"#FFFFFF","contrastBlack":2.28,"contrastWhite":9.21,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#32C339","hex":"#32C339","family":"green","bestTextColor":"#000000","contrastBlack":9,"contrastWhite":2.33,"wcagAA":["#000000","#1A1A1A"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Terre Verte","hex":"#385E0F","family":"green","bestTextColor":"#FFFFFF","contrastBlack":2.78,"contrastWhite":7.56,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF"]},{"name":"Emerald Dark","hex":"#046307","family":"green","bestTextColor":"#FFFFFF","contrastBlack":2.79,"contrastWhite":7.52,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF"]}]
AI context
{"semanticGroups":["cool green","earth tone","jewel tone","earth tone green","jewel tone green","Forest Green adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","natural palettes","rich accent palettes","botanical and wellness palettes"],"contrastSafeWith":["#FFFFFF","#F5F5F5"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/1f7a23.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/forest-green.json","https://www.colorsencyclopedia.com/api/colors/terre-verte.json","https://www.colorsencyclopedia.com/api/colors/hunter-green.json"]}
Harmonies
{"complementary":"#7A1F75","analogous":["#487A1F","#1F7A51"],"triadic":["#241F7A","#7A241F"],"tetradic":["#1F487A","#7A1F75","#7A511F"],"splitComplementary":["#511F7A","#7A1F48"],"monochromatic":["#32C339","#1F7A23","#0D310E"]}
Variants
{"light":"#32C339","dark":"#0D310E","saturated":"#0F8A15","desaturated":"#306933","pastel":"#5ABF5F","neon":"#00C20A"}
Nearest named colors
[{"slug":"forest-green","name":"Forest Green","hex":"#228B22","distance":17.291616465790582},{"slug":"terre-verte","name":"Terre Verte","hex":"#385E0F","distance":42.532340636273474},{"slug":"hunter-green","name":"Hunter Green","hex":"#355E3B","distance":42.941821107167776},{"slug":"emerald-dark","name":"Emerald Dark","hex":"#046307","distance":45.18849411078001},{"slug":"green","name":"Green","hex":"#008000","distance":47.138094997570704}]

HEX meaning and use

About #1F7A23

#1F7A23 is classified as a cool green value with earth tone and jewel tone visual character. #1F7A23 is visually closest to Forest Green, a named green color with HEX #228B22.

The RGB channels are 31, 122, and 35, with green carrying the strongest channel weight. In HSL, the hue is 123deg with 59% saturation and 30% lightness, so this page treats it as a moderate-saturation, dark atlas color rather than a generic swatch.

According to Colors Encyclopedia, this HEX value works best for color conversion, WCAG contrast checks, CSS color tokens, and natural palettes. Its luminance is 0.1433, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 17.29, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text3.87:1AA Fail
White text5.43:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: none in seed set.

Accessibility-Safe Pairings and Alternatives

Use these pairings when #1F7A23 needs readable text, badges, interface states, or nearby accessible alternatives.

Black text#0000003.87:1 · Fail
White text#FFFFFF5.43:1 · AA

Accessible Alternatives

#0D310E#FFFFFF text · best 14.36:1#0D310E
#7A1F75#FFFFFF text · best 9.21:1#7A1F75
#32C339#000000 text · best 9:1#32C339
Terre Verte#FFFFFF text · best 7.56:1#385E0F
Emerald Dark#FFFFFF text · best 7.52:1#046307

Generated Palette

#1F7A23#1F7A23
#7A1F75#7A1F75
#487A1F#487A1F
#1F7A51#1F7A51
#32C339#32C339
#0D310E#0D310E

Color Harmonies

#7A1F75#7A1F75
#487A1F#487A1F
#1F7A51#1F7A51
#241F7A#241F7A
#7A241F#7A241F

Variants

#32C339#32C339
#0D310E#0D310E
#0F8A15#0F8A15
#306933#306933
#5ABF5F#5ABF5F
#00C20A#00C20A

Nearest Named Colors