HEX atlas value

#1F7A1F

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

#1F7A1F Sample readable text
HEX #1F7A1F
RGB rgb(31, 122, 31)
HSL hsl(120 59% 30%)
CMYK cmyk(75, 0, 75, 52)
Luminance 0.1431
Contrast Black 3.86:1White 5.44:1

CSS

--color-1f7a1f: #1F7A1F;
.background-1f7a1f { background-color: #1F7A1F; }
.text-1f7a1f { color: #1F7A1F; }

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.1431
Black text3.86:1AA Fail
White text5.44: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":"#1F7A1F","rgb":[31,122,31],"hsl":[120,59,30],"cmyk":[75,0,75,52],"luminance":0.1431,"contrast":{"black":3.86,"white":5.44}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":[]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":3.86,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":5.44,"wcagAA":true,"wcagAAA":false}]
Accessible alternatives
[{"name":"#0D310D","hex":"#0D310D","family":"green","bestTextColor":"#FFFFFF","contrastBlack":1.46,"contrastWhite":14.36,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#7A1F7A","hex":"#7A1F7A","family":"pink","bestTextColor":"#FFFFFF","contrastBlack":2.3,"contrastWhite":9.11,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#32C332","hex":"#32C332","family":"green","bestTextColor":"#000000","contrastBlack":8.99,"contrastWhite":2.34,"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/1f7a1f.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/emerald-dark.json"]}
Harmonies
{"complementary":"#7A1F7A","analogous":["#4D7A1F","#1F7A4D"],"triadic":["#1F1F7A","#7A1F1F"],"tetradic":["#1F4C7A","#7A1F7A","#7A4D1F"],"splitComplementary":["#4C1F7A","#7A1F4D"],"monochromatic":["#32C332","#1F7A1F","#0D310D"]}
Variants
{"light":"#32C332","dark":"#0D310D","saturated":"#0F8A0F","desaturated":"#306930","pastel":"#5ABF5A","neon":"#00C200"}
Nearest named colors
[{"slug":"forest-green","name":"Forest Green","hex":"#228B22","distance":17.52141546793523},{"slug":"terre-verte","name":"Terre Verte","hex":"#385E0F","distance":40.80441152620633},{"slug":"emerald-dark","name":"Emerald Dark","hex":"#046307","distance":42.82522621072771},{"slug":"green","name":"Green","hex":"#008000","distance":44.24929377967517},{"slug":"hunter-green","name":"Hunter Green","hex":"#355E3B","distance":45.2990066116245}]

HEX meaning and use

About #1F7A1F

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

The RGB channels are 31, 122, and 31, with green carrying the strongest channel weight. In HSL, the hue is 120deg 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.1431, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 17.52, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text3.86:1AA Fail
White text5.44:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: none in seed set.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000003.86:1 · Fail
White text#FFFFFF5.44:1 · AA

Accessible Alternatives

#0D310D#FFFFFF text · best 14.36:1#0D310D
#7A1F7A#FFFFFF text · best 9.11:1#7A1F7A
#32C332#000000 text · best 8.99:1#32C332
Terre Verte#FFFFFF text · best 7.56:1#385E0F
Emerald Dark#FFFFFF text · best 7.52:1#046307

Generated Palette

#1F7A1F#1F7A1F
#7A1F7A#7A1F7A
#4D7A1F#4D7A1F
#1F7A4D#1F7A4D
#32C332#32C332
#0D310D#0D310D

Color Harmonies

#7A1F7A#7A1F7A
#4D7A1F#4D7A1F
#1F7A4D#1F7A4D
#1F1F7A#1F1F7A
#7A1F1F#7A1F1F

Variants

#32C332#32C332
#0D310D#0D310D
#0F8A0F#0F8A0F
#306930#306930
#5ABF5A#5ABF5A
#00C200#00C200

Nearest Named Colors