HEX atlas value

#507A1F

#507A1F is a cool green HEX color close to Dark Olive Green. According to Colors Encyclopedia, it converts to RGB 80, 122, 31, HSL 88, 59%, 30%, has luminance 0.1572, and belongs to the earth tone and jewel tone groups.

#507A1F Sample readable text
HEX #507A1F
RGB rgb(80, 122, 31)
HSL hsl(88 59% 30%)
CMYK cmyk(34, 0, 75, 52)
Luminance 0.1572
Contrast Black 4.14:1White 5.07:1

CSS

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

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.1572
Black text4.14:1AA Fail
White text5.07: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":"#507A1F","rgb":[80,122,31],"hsl":[88,59,30],"cmyk":[34,0,75,52],"luminance":0.1572,"contrast":{"black":4.14,"white":5.07}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":[]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":4.14,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":5.07,"wcagAA":true,"wcagAAA":false}]
Accessible alternatives
[{"name":"#20310D","hex":"#20310D","family":"green","bestTextColor":"#FFFFFF","contrastBlack":1.51,"contrastWhite":13.94,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#491F7A","hex":"#491F7A","family":"purple","bestTextColor":"#FFFFFF","contrastBlack":1.76,"contrastWhite":11.93,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#7FC332","hex":"#7FC332","family":"green","bestTextColor":"#000000","contrastBlack":9.75,"contrastWhite":2.15,"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":"#4E6930","hex":"#4E6930","family":"green","bestTextColor":"#FFFFFF","contrastBlack":3.39,"contrastWhite":6.2,"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/507a1f.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/avocado.json"]}
Harmonies
{"complementary":"#491F7A","analogous":["#7A771F","#227A1F"],"triadic":["#1F507A","#7A1F50"],"tetradic":["#1F7A77","#491F7A","#7A1F22"],"splitComplementary":["#1F227A","#771F7A"],"monochromatic":["#7FC332","#507A1F","#20310D"]}
Variants
{"light":"#7FC332","dark":"#20310D","saturated":"#518A0F","desaturated":"#4E6930","pastel":"#90BF5A","neon":"#67C200"}
Nearest named colors
[{"slug":"dark-olive-green","name":"Dark Olive Green","hex":"#556B2F","distance":22.494443758403985},{"slug":"fern-frond","name":"Fern Frond","hex":"#657220","distance":22.494443758403985},{"slug":"avocado","name":"Avocado","hex":"#568203","distance":29.732137494637012},{"slug":"moss-deep","name":"Moss Deep","hex":"#4A5D23","distance":29.88310559496787},{"slug":"olive-drab","name":"Olive Drab","hex":"#6B8E23","distance":33.83784863137726}]

HEX meaning and use

About #507A1F

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

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

WCAG Accessibility

Black text4.14:1AA Fail
White text5.07:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: none in seed set.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000004.14:1 · Fail
White text#FFFFFF5.07:1 · AA

Accessible Alternatives

#20310D#FFFFFF text · best 13.94:1#20310D
#491F7A#FFFFFF text · best 11.93:1#491F7A
#7FC332#000000 text · best 9.75:1#7FC332
Moss Deep#FFFFFF text · best 7.29:1#4A5D23
#4E6930#FFFFFF text · best 6.2:1#4E6930

Generated Palette

#507A1F#507A1F
#491F7A#491F7A
#7A771F#7A771F
#227A1F#227A1F
#7FC332#7FC332
#20310D#20310D

Color Harmonies

#491F7A#491F7A
#7A771F#7A771F
#227A1F#227A1F
#1F507A#1F507A
#7A1F50#7A1F50

Variants

#7FC332#7FC332
#20310D#20310D
#518A0F#518A0F
#4E6930#4E6930
#90BF5A#90BF5A
#67C200#67C200

Nearest Named Colors