HEX atlas value

#1F7A2C

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

#1F7A2C Sample readable text
HEX #1F7A2C
RGB rgb(31, 122, 44)
HSL hsl(129 59% 30%)
CMYK cmyk(75, 0, 64, 52)
Luminance 0.1439
Contrast Black 3.88:1White 5.42:1

CSS

--color-1f7a2c: #1F7A2C;
.background-1f7a2c { background-color: #1F7A2C; }
.text-1f7a2c { color: #1F7A2C; }

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.1439
Black text3.88:1AA Fail
White text5.42: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":"#1F7A2C","rgb":[31,122,44],"hsl":[129,59,30],"cmyk":[75,0,64,52],"luminance":0.1439,"contrast":{"black":3.88,"white":5.42}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":[]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":3.88,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":5.42,"wcagAA":true,"wcagAAA":false}]
Accessible alternatives
[{"name":"#0D3112","hex":"#0D3112","family":"green","bestTextColor":"#FFFFFF","contrastBlack":1.47,"contrastWhite":14.32,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#7A1F6C","hex":"#7A1F6C","family":"pink","bestTextColor":"#FFFFFF","contrastBlack":2.24,"contrastWhite":9.38,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#32C348","hex":"#32C348","family":"green","bestTextColor":"#000000","contrastBlack":9.04,"contrastWhite":2.32,"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":"Hunter Green","hex":"#355E3B","family":"green","bestTextColor":"#FFFFFF","contrastBlack":2.82,"contrastWhite":7.46,"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/1f7a2c.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/forest-green.json","https://www.colorsencyclopedia.com/api/colors/hunter-green.json","https://www.colorsencyclopedia.com/api/colors/terre-verte.json"]}
Harmonies
{"complementary":"#7A1F6C","analogous":["#3F7A1F","#1F7A5A"],"triadic":["#2D1F7A","#7A2D1F"],"tetradic":["#1F3F7A","#7A1F6C","#7A5A1F"],"splitComplementary":["#5A1F7A","#7A1F3F"],"monochromatic":["#32C348","#1F7A2C","#0D3112"]}
Variants
{"light":"#32C348","dark":"#0D3112","saturated":"#0F8A21","desaturated":"#306939","pastel":"#5ABF69","neon":"#00C21D"}
Nearest named colors
[{"slug":"forest-green","name":"Forest Green","hex":"#228B22","distance":19.949937343260004},{"slug":"hunter-green","name":"Hunter Green","hex":"#355E3B","distance":38.63935817272331},{"slug":"terre-verte","name":"Terre Verte","hex":"#385E0F","distance":47.43416490252569},{"slug":"traffic-green","name":"Traffic Green","hex":"#008450","distance":48.54894437575342},{"slug":"sea-green","name":"Sea Green","hex":"#2E8B57","distance":48.61069841094653}]

HEX meaning and use

About #1F7A2C

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

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

WCAG Accessibility

Black text3.88:1AA Fail
White text5.42:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: none in seed set.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000003.88:1 · Fail
White text#FFFFFF5.42:1 · AA

Accessible Alternatives

#0D3112#FFFFFF text · best 14.32:1#0D3112
#7A1F6C#FFFFFF text · best 9.38:1#7A1F6C
#32C348#000000 text · best 9.04:1#32C348
Terre Verte#FFFFFF text · best 7.56:1#385E0F
Hunter Green#FFFFFF text · best 7.46:1#355E3B

Generated Palette

#1F7A2C#1F7A2C
#7A1F6C#7A1F6C
#3F7A1F#3F7A1F
#1F7A5A#1F7A5A
#32C348#32C348
#0D3112#0D3112

Color Harmonies

#7A1F6C#7A1F6C
#3F7A1F#3F7A1F
#1F7A5A#1F7A5A
#2D1F7A#2D1F7A
#7A2D1F#7A2D1F

Variants

#32C348#32C348
#0D3112#0D3112
#0F8A21#0F8A21
#306939#306939
#5ABF69#5ABF69
#00C21D#00C21D

Nearest Named Colors