HEX atlas value

#397A1F

#397A1F is a cool green HEX color close to Forest Green. According to Colors Encyclopedia, it converts to RGB 57, 122, 31, HSL 103, 59%, 30%, has luminance 0.1489, and belongs to the earth tone and jewel tone groups.

#397A1F Sample readable text
HEX #397A1F
RGB rgb(57, 122, 31)
HSL hsl(103 59% 30%)
CMYK cmyk(53, 0, 75, 52)
Luminance 0.1489
Contrast Black 3.98:1White 5.28:1

CSS

--color-397a1f: #397A1F;
.background-397a1f { background-color: #397A1F; }
.text-397a1f { color: #397A1F; }

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.1489
Black text3.98:1AA Fail
White text5.28: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":"#397A1F","rgb":[57,122,31],"hsl":[103,59,30],"cmyk":[53,0,75,52],"luminance":0.1489,"contrast":{"black":3.98,"white":5.28}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":[]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":3.98,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":5.28,"wcagAA":true,"wcagAAA":false}]
Accessible alternatives
[{"name":"#17310D","hex":"#17310D","family":"green","bestTextColor":"#FFFFFF","contrastBlack":1.48,"contrastWhite":14.17,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#601F7A","hex":"#601F7A","family":"purple","bestTextColor":"#FFFFFF","contrastBlack":1.97,"contrastWhite":10.64,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#5BC332","hex":"#5BC332","family":"green","bestTextColor":"#000000","contrastBlack":9.3,"contrastWhite":2.26,"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":"Moss Deep","hex":"#4A5D23","family":"green","bestTextColor":"#FFFFFF","contrastBlack":2.88,"contrastWhite":7.29,"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/397a1f.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/moss-deep.json"]}
Harmonies
{"complementary":"#601F7A","analogous":["#667A1F","#1F7A33"],"triadic":["#1F397A","#7A1F39"],"tetradic":["#1F667A","#601F7A","#7A331F"],"splitComplementary":["#331F7A","#7A1F66"],"monochromatic":["#5BC332","#397A1F","#17310D"]}
Variants
{"light":"#5BC332","dark":"#17310D","saturated":"#328A0F","desaturated":"#406930","pastel":"#76BF5A","neon":"#37C200"}
Nearest named colors
[{"slug":"forest-green","name":"Forest Green","hex":"#228B22","distance":28.75760768909681},{"slug":"terre-verte","name":"Terre Verte","hex":"#385E0F","distance":32.264531609803356},{"slug":"moss-deep","name":"Moss Deep","hex":"#4A5D23","distance":33.85262175962151},{"slug":"dark-olive-green","name":"Dark Olive Green","hex":"#556B2F","distance":35.566838487557476},{"slug":"scheeles-green","name":"Scheele Green","hex":"#478800","distance":36.78314831549904}]

HEX meaning and use

About #397A1F

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

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

WCAG Accessibility

Black text3.98:1AA Fail
White text5.28:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: none in seed set.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000003.98:1 · Fail
White text#FFFFFF5.28:1 · AA

Accessible Alternatives

#17310D#FFFFFF text · best 14.17:1#17310D
#601F7A#FFFFFF text · best 10.64:1#601F7A
#5BC332#000000 text · best 9.3:1#5BC332
Terre Verte#FFFFFF text · best 7.56:1#385E0F
Moss Deep#FFFFFF text · best 7.29:1#4A5D23

Generated Palette

#397A1F#397A1F
#601F7A#601F7A
#667A1F#667A1F
#1F7A33#1F7A33
#5BC332#5BC332
#17310D#17310D

Color Harmonies

#601F7A#601F7A
#667A1F#667A1F
#1F7A33#1F7A33
#1F397A#1F397A
#7A1F39#7A1F39

Variants

#5BC332#5BC332
#17310D#17310D
#328A0F#328A0F
#406930#406930
#76BF5A#76BF5A
#37C200#37C200

Nearest Named Colors