HEX atlas value

#7F781A

#7F781A is a warm yellow HEX color close to Olive. According to Colors Encyclopedia, it converts to RGB 127, 120, 26, HSL 56, 66%, 30%, has luminance 0.1802, and belongs to the balanced group.

#7F781A Sample readable text
HEX #7F781A
RGB rgb(127, 120, 26)
HSL hsl(56 66% 30%)
CMYK cmyk(0, 6, 80, 50)
Luminance 0.1802
Contrast Black 4.6:1White 4.56:1

CSS

--color-7f781a: #7F781A;
.background-7f781a { background-color: #7F781A; }
.text-7f781a { color: #7F781A; }

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.1802
Black text4.6:1AA Pass
White text4.56: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":"#7F781A","rgb":[127,120,26],"hsl":[56,66,30],"cmyk":[0,6,80,50],"luminance":0.1802,"contrast":{"black":4.6,"white":4.56}}
WCAG
{"AA":["#000000","#FFFFFF"],"AAA":[]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":4.6,"wcagAA":true,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":4.56,"wcagAA":true,"wcagAAA":false}]
Accessible alternatives
[{"name":"#33300A","hex":"#33300A","family":"yellow","bestTextColor":"#FFFFFF","contrastBlack":1.57,"contrastWhite":13.39,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#1A217F","hex":"#1A217F","family":"blue","bestTextColor":"#FFFFFF","contrastBlack":1.57,"contrastWhite":13.39,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#CBC02A","hex":"#CBC02A","family":"yellow","bestTextColor":"#000000","contrastBlack":11.11,"contrastWhite":1.89,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#7F461A","hex":"#7F461A","family":"orange","bestTextColor":"#FFFFFF","contrastBlack":2.79,"contrastWhite":7.52,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF"]},{"name":"#908709","hex":"#908709","family":"yellow","bestTextColor":"#000000","contrastBlack":5.66,"contrastWhite":3.71,"wcagAA":["#000000","#1A1A1A"],"wcagAAA":[]}]
AI context
{"semanticGroups":["warm yellow","balanced","balanced yellow","Olive adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","highlight and warning systems"],"contrastSafeWith":["#000000","#FFFFFF"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/7f781a.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/olive.json","https://www.colorsencyclopedia.com/api/colors/fern-frond.json","https://www.colorsencyclopedia.com/api/colors/olive-drab.json"]}
Harmonies
{"complementary":"#1A217F","analogous":["#7F461A","#537F1A"],"triadic":["#1A7F78","#781A7F"],"tetradic":["#1A7F46","#1A217F","#7F1A53"],"splitComplementary":["#1A537F","#461A7F"],"monochromatic":["#CBC02A","#7F781A","#33300A"]}
Variants
{"light":"#CBC02A","dark":"#33300A","saturated":"#908709","desaturated":"#6E6A2B","pastel":"#C7BF52","neon":"#C2B500"}
Nearest named colors
[{"slug":"olive","name":"Olive","hex":"#808000","distance":27.2213151776324},{"slug":"fern-frond","name":"Fern Frond","hex":"#657220","distance":27.349588662354687},{"slug":"olive-drab","name":"Olive Drab","hex":"#6B8E23","distance":31.064449134018133},{"slug":"olive-leaf","name":"Olive Leaf","hex":"#6B8E23","distance":31.064449134018133},{"slug":"olive-green","name":"Olive Green","hex":"#708238","distance":35}]

HEX meaning and use

About #7F781A

#7F781A is classified as a warm yellow value with balanced visual character. #7F781A is visually closest to Olive, a named yellow color with HEX #808000.

The RGB channels are 127, 120, and 26, with red carrying the strongest channel weight. In HSL, the hue is 56deg with 66% 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 highlight and warning systems. Its luminance is 0.1802, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 27.22, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text4.6:1AA Pass
White text4.56:1AA Pass

AA text options: #000000, #FFFFFF.

AAA text options: none in seed set.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000004.6:1 · AA
White text#FFFFFF4.56:1 · AA

Accessible Alternatives

#33300A#FFFFFF text · best 13.39:1#33300A
#1A217F#FFFFFF text · best 13.39:1#1A217F
#CBC02A#000000 text · best 11.11:1#CBC02A
#7F461A#FFFFFF text · best 7.52:1#7F461A
#908709#000000 text · best 5.66:1#908709

Generated Palette

#7F781A#7F781A
#1A217F#1A217F
#7F461A#7F461A
#537F1A#537F1A
#CBC02A#CBC02A
#33300A#33300A

Color Harmonies

#1A217F#1A217F
#7F461A#7F461A
#537F1A#537F1A
#1A7F78#1A7F78
#781A7F#781A7F

Variants

#CBC02A#CBC02A
#33300A#33300A
#908709#908709
#6E6A2B#6E6A2B
#C7BF52#C7BF52
#C2B500#C2B500

Nearest Named Colors