HEX atlas value

#1F7A2B

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

#1F7A2B Sample readable text
HEX #1F7A2B
RGB rgb(31, 122, 43)
HSL hsl(128 59% 30%)
CMYK cmyk(75, 0, 65, 52)
Luminance 0.1438
Contrast Black 3.88:1White 5.42:1

CSS

--color-1f7a2b: #1F7A2B;
.background-1f7a2b { background-color: #1F7A2B; }
.text-1f7a2b { color: #1F7A2B; }

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.1438
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":"#1F7A2B","rgb":[31,122,43],"hsl":[128,59,30],"cmyk":[75,0,65,52],"luminance":0.1438,"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":"#0D3111","hex":"#0D3111","family":"green","bestTextColor":"#FFFFFF","contrastBlack":1.46,"contrastWhite":14.34,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#7A1F6E","hex":"#7A1F6E","family":"pink","bestTextColor":"#FFFFFF","contrastBlack":2.25,"contrastWhite":9.34,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#32C345","hex":"#32C345","family":"green","bestTextColor":"#000000","contrastBlack":9.03,"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":"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/1f7a2b.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":"#7A1F6E","analogous":["#407A1F","#1F7A59"],"triadic":["#2B1F7A","#7A2B1F"],"tetradic":["#1F407A","#7A1F6E","#7A591F"],"splitComplementary":["#591F7A","#7A1F40"],"monochromatic":["#32C345","#1F7A2B","#0D3111"]}
Variants
{"light":"#32C345","dark":"#0D3111","saturated":"#0F8A1F","desaturated":"#306938","pastel":"#5ABF67","neon":"#00C21A"}
Nearest named colors
[{"slug":"forest-green","name":"Forest Green","hex":"#228B22","distance":19.467922333931785},{"slug":"hunter-green","name":"Hunter Green","hex":"#355E3B","distance":39.03844259188627},{"slug":"terre-verte","name":"Terre Verte","hex":"#385E0F","distance":46.82947789587238},{"slug":"traffic-green","name":"Traffic Green","hex":"#008450","distance":49.29503017546495},{"slug":"bottle-green","name":"Bottle Green","hex":"#006A4E","distance":49.416596402423345}]

HEX meaning and use

About #1F7A2B

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

The RGB channels are 31, 122, and 43, with green carrying the strongest channel weight. In HSL, the hue is 128deg 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.1438, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 19.47, 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 #1F7A2B needs readable text, badges, interface states, or nearby accessible alternatives.

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

Accessible Alternatives

#0D3111#FFFFFF text · best 14.34:1#0D3111
#7A1F6E#FFFFFF text · best 9.34:1#7A1F6E
#32C345#000000 text · best 9.03:1#32C345
Terre Verte#FFFFFF text · best 7.56:1#385E0F
Hunter Green#FFFFFF text · best 7.46:1#355E3B

Generated Palette

#1F7A2B#1F7A2B
#7A1F6E#7A1F6E
#407A1F#407A1F
#1F7A59#1F7A59
#32C345#32C345
#0D3111#0D3111

Color Harmonies

#7A1F6E#7A1F6E
#407A1F#407A1F
#1F7A59#1F7A59
#2B1F7A#2B1F7A
#7A2B1F#7A2B1F

Variants

#32C345#32C345
#0D3111#0D3111
#0F8A1F#0F8A1F
#306938#306938
#5ABF67#5ABF67
#00C21A#00C21A

Nearest Named Colors