HEX atlas value

#4D7A1F

#4D7A1F is a cool green HEX color close to Dark Olive Green. According to Colors Encyclopedia, it converts to RGB 77, 122, 31, HSL 90, 59%, 30%, has luminance 0.156, and belongs to the earth tone and jewel tone groups.

#4D7A1F Sample readable text
HEX #4D7A1F
RGB rgb(77, 122, 31)
HSL hsl(90 59% 30%)
CMYK cmyk(37, 0, 75, 52)
Luminance 0.156
Contrast Black 4.12:1White 5.1:1

CSS

--color-4d7a1f: #4D7A1F;
.background-4d7a1f { background-color: #4D7A1F; }
.text-4d7a1f { color: #4D7A1F; }

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.156
Black text4.12:1AA Fail
White text5.1: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":"#4D7A1F","rgb":[77,122,31],"hsl":[90,59,30],"cmyk":[37,0,75,52],"luminance":0.156,"contrast":{"black":4.12,"white":5.1}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":[]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":4.12,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":5.1,"wcagAA":true,"wcagAAA":false}]
Accessible alternatives
[{"name":"#1F310D","hex":"#1F310D","family":"green","bestTextColor":"#FFFFFF","contrastBlack":1.5,"contrastWhite":13.96,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#4C1F7A","hex":"#4C1F7A","family":"purple","bestTextColor":"#FFFFFF","contrastBlack":1.78,"contrastWhite":11.77,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#7AC332","hex":"#7AC332","family":"green","bestTextColor":"#000000","contrastBlack":9.68,"contrastWhite":2.17,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Moss Deep","hex":"#4A5D23","family":"green","bestTextColor":"#FFFFFF","contrastBlack":2.88,"contrastWhite":7.29,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF"]},{"name":"#4D6930","hex":"#4D6930","family":"green","bestTextColor":"#FFFFFF","contrastBlack":3.38,"contrastWhite":6.22,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":[]}]
AI context
{"semanticGroups":["cool green","earth tone","jewel tone","earth tone green","jewel tone green","Dark Olive 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/4d7a1f.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/dark-olive-green.json","https://www.colorsencyclopedia.com/api/colors/fern-frond.json","https://www.colorsencyclopedia.com/api/colors/moss-deep.json"]}
Harmonies
{"complementary":"#4C1F7A","analogous":["#7A7A1F","#1F7A1F"],"triadic":["#1F4C7A","#7A1F4D"],"tetradic":["#1F7A7A","#4C1F7A","#7A1F1F"],"splitComplementary":["#1F1F7A","#7A1F7A"],"monochromatic":["#7AC332","#4D7A1F","#1F310D"]}
Variants
{"light":"#7AC332","dark":"#1F310D","saturated":"#4D8A0F","desaturated":"#4D6930","pastel":"#8CBF5A","neon":"#61C200"}
Nearest named colors
[{"slug":"dark-olive-green","name":"Dark Olive Green","hex":"#556B2F","distance":23.345235059857504},{"slug":"fern-frond","name":"Fern Frond","hex":"#657220","distance":25.317977802344327},{"slug":"moss-deep","name":"Moss Deep","hex":"#4A5D23","distance":29.427877939124322},{"slug":"avocado","name":"Avocado","hex":"#568203","distance":30.479501308256342},{"slug":"scheeles-green","name":"Scheele Green","hex":"#478800","distance":34.539832078341085}]

HEX meaning and use

About #4D7A1F

#4D7A1F is classified as a cool green value with earth tone and jewel tone visual character. #4D7A1F is visually closest to Dark Olive Green, a named green color with HEX #556B2F.

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

WCAG Accessibility

Black text4.12:1AA Fail
White text5.1:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: none in seed set.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000004.12:1 · Fail
White text#FFFFFF5.1:1 · AA

Accessible Alternatives

#1F310D#FFFFFF text · best 13.96:1#1F310D
#4C1F7A#FFFFFF text · best 11.77:1#4C1F7A
#7AC332#000000 text · best 9.68:1#7AC332
Moss Deep#FFFFFF text · best 7.29:1#4A5D23
#4D6930#FFFFFF text · best 6.22:1#4D6930

Generated Palette

#4D7A1F#4D7A1F
#4C1F7A#4C1F7A
#7A7A1F#7A7A1F
#1F7A1F#1F7A1F
#7AC332#7AC332
#1F310D#1F310D

Color Harmonies

#4C1F7A#4C1F7A
#7A7A1F#7A7A1F
#1F7A1F#1F7A1F
#1F4C7A#1F4C7A
#7A1F4D#7A1F4D

Variants

#7AC332#7AC332
#1F310D#1F310D
#4D8A0F#4D8A0F
#4D6930#4D6930
#8CBF5A#8CBF5A
#61C200#61C200

Nearest Named Colors