HEX atlas value

#D4C82B

#D4C82B is a warm yellow HEX color close to Old Gold. According to Colors Encyclopedia, it converts to RGB 212, 200, 43, HSL 56, 66%, 50%, has luminance 0.5548, and belongs to the balanced group.

#D4C82B Sample readable text
HEX #D4C82B
RGB rgb(212, 200, 43)
HSL hsl(56 66% 50%)
CMYK cmyk(0, 6, 80, 17)
Luminance 0.5548
Contrast Black 12.1:1White 1.74:1

CSS

--color-d4c82b: #D4C82B;
.background-d4c82b { background-color: #D4C82B; }
.text-d4c82b { color: #D4C82B; }

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.5548
Black text12.1:1AA Pass
White text1.74:1AA Fail
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":"#D4C82B","rgb":[212,200,43],"hsl":[56,66,50],"cmyk":[0,6,80,17],"luminance":0.5548,"contrast":{"black":12.1,"white":1.74}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":12.1,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":1.74,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#F0E10F","hex":"#F0E10F","family":"yellow","bestTextColor":"#000000","contrastBlack":15.48,"contrastWhite":1.36,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#E3DC78","hex":"#E3DC78","family":"yellow","bestTextColor":"#000000","contrastBlack":14.77,"contrastWhite":1.42,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Pear","hex":"#D1E231","family":"yellow","bestTextColor":"#000000","contrastBlack":14.63,"contrastWhite":1.44,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Saffron","hex":"#F4C430","family":"yellow","bestTextColor":"#000000","contrastBlack":12.79,"contrastWhite":1.64,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Buttercup","hex":"#F3C13A","family":"orange","bestTextColor":"#000000","contrastBlack":12.5,"contrastWhite":1.68,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]}]
AI context
{"semanticGroups":["warm yellow","balanced","balanced yellow","Old Gold adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","highlight and warning systems"],"contrastSafeWith":["#000000","#1A1A1A","#36454F"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/d4c82b.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/old-gold.json","https://www.colorsencyclopedia.com/api/colors/pear.json","https://www.colorsencyclopedia.com/api/colors/saffron.json"]}
Harmonies
{"complementary":"#2B37D4","analogous":["#D4742B","#8BD42B"],"triadic":["#2BD4C8","#C82BD4"],"tetradic":["#2BD474","#2B37D4","#D42B8B"],"splitComplementary":["#2B8BD4","#742BD4"],"monochromatic":["#E3DC78","#D4C82B","#87801C"]}
Variants
{"light":"#E3DC78","dark":"#87801C","saturated":"#F0E10F","desaturated":"#B8B047","pastel":"#E0DB9F","neon":"#FFF129"}
Nearest named colors
[{"slug":"old-gold","name":"Old Gold","hex":"#CFB53B","distance":25.337718918639855},{"slug":"pear","name":"Pear","hex":"#D1E231","distance":26.851443164195103},{"slug":"saffron","name":"Saffron","hex":"#F4C430","distance":32.63433774416144},{"slug":"peridot","name":"Peridot","hex":"#B4C424","distance":33},{"slug":"buttercup","name":"Buttercup","hex":"#F3C13A","distance":35.14256678161116}]

HEX meaning and use

About #D4C82B

#D4C82B is classified as a warm yellow value with balanced visual character. #D4C82B is visually closest to Old Gold, a named yellow color with HEX #CFB53B.

The RGB channels are 212, 200, and 43, with red carrying the strongest channel weight. In HSL, the hue is 56deg with 66% saturation and 50% lightness, so this page treats it as a moderate-saturation, mid-lightness 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.5548, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 25.34, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text12.1:1AA Pass
White text1.74:1AA Fail

AA text options: #000000, #1A1A1A, #36454F.

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#00000012.1:1 · AAA
White text#FFFFFF1.74:1 · Fail

Accessible Alternatives

#F0E10F#000000 text · best 15.48:1#F0E10F
#E3DC78#000000 text · best 14.77:1#E3DC78
Pear#000000 text · best 14.63:1#D1E231
Saffron#000000 text · best 12.79:1#F4C430
Buttercup#000000 text · best 12.5:1#F3C13A

Generated Palette

#D4C82B#D4C82B
#2B37D4#2B37D4
#D4742B#D4742B
#8BD42B#8BD42B
#E3DC78#E3DC78
#87801C#87801C

Color Harmonies

#2B37D4#2B37D4
#D4742B#D4742B
#8BD42B#8BD42B
#2BD4C8#2BD4C8
#C82BD4#C82BD4

Variants

#E3DC78#E3DC78
#87801C#87801C
#F0E10F#F0E10F
#B8B047#B8B047
#E0DB9F#E0DB9F
#FFF129#FFF129

Nearest Named Colors