HEX atlas value

#D4B52B

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

#D4B52B Sample readable text
HEX #D4B52B
RGB rgb(212, 181, 43)
HSL hsl(49 66% 50%)
CMYK cmyk(0, 15, 80, 17)
Luminance 0.4722
Contrast Black 10.44:1White 2.01:1

CSS

--color-d4b52b: #D4B52B;
.background-d4b52b { background-color: #D4B52B; }
.text-d4b52b { color: #D4B52B; }

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.4722
Black text10.44:1AA Pass
White text2.01: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":"#D4B52B","rgb":[212,181,43],"hsl":[49,66,50],"cmyk":[0,15,80,17],"luminance":0.4722,"contrast":{"black":10.44,"white":2.01}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":10.44,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":2.01,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#E3D078","hex":"#E3D078","family":"yellow","bestTextColor":"#000000","contrastBlack":13.56,"contrastWhite":1.55,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#F0C70F","hex":"#F0C70F","family":"yellow","bestTextColor":"#000000","contrastBlack":12.88,"contrastWhite":1.63,"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":"#9ED42B","hex":"#9ED42B","family":"green","bestTextColor":"#000000","contrastBlack":11.91,"contrastWhite":1.76,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Peridot","hex":"#B4C424","family":"yellow","bestTextColor":"#000000","contrastBlack":10.86,"contrastWhite":1.93,"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/d4b52b.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/old-gold.json","https://www.colorsencyclopedia.com/api/colors/goldenrod.json","https://www.colorsencyclopedia.com/api/colors/marigold.json"]}
Harmonies
{"complementary":"#2B4AD4","analogous":["#D4612B","#9ED42B"],"triadic":["#2BD4B5","#B52BD4"],"tetradic":["#2BD461","#2B4AD4","#D42B9E"],"splitComplementary":["#2B9ED4","#612BD4"],"monochromatic":["#E3D078","#D4B52B","#87741C"]}
Variants
{"light":"#E3D078","dark":"#87741C","saturated":"#F0C70F","desaturated":"#B8A347","pastel":"#E0D49F","neon":"#FFD829"}
Nearest named colors
[{"slug":"old-gold","name":"Old Gold","hex":"#CFB53B","distance":16.76305461424021},{"slug":"goldenrod","name":"Goldenrod","hex":"#DAA520","distance":20.322401432901575},{"slug":"marigold","name":"Marigold","hex":"#EAA221","distance":30.740852297878796},{"slug":"saffron","name":"Saffron","hex":"#F4C430","distance":35.6931365951495},{"slug":"peridot","name":"Peridot","hex":"#B4C424","distance":36.02776706930364}]

HEX meaning and use

About #D4B52B

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

The RGB channels are 212, 181, and 43, with red carrying the strongest channel weight. In HSL, the hue is 49deg 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.4722, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 16.76, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text10.44:1AA Pass
White text2.01:1AA Fail

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

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#00000010.44:1 · AAA
White text#FFFFFF2.01:1 · Fail

Accessible Alternatives

#E3D078#000000 text · best 13.56:1#E3D078
#F0C70F#000000 text · best 12.88:1#F0C70F
Saffron#000000 text · best 12.79:1#F4C430
#9ED42B#000000 text · best 11.91:1#9ED42B
Peridot#000000 text · best 10.86:1#B4C424

Generated Palette

#D4B52B#D4B52B
#2B4AD4#2B4AD4
#D4612B#D4612B
#9ED42B#9ED42B
#E3D078#E3D078
#87741C#87741C

Color Harmonies

#2B4AD4#2B4AD4
#D4612B#D4612B
#9ED42B#9ED42B
#2BD4B5#2BD4B5
#B52BD4#B52BD4

Variants

#E3D078#E3D078
#87741C#87741C
#F0C70F#F0C70F
#B8A347#B8A347
#E0D49F#E0D49F
#FFD829#FFD829

Nearest Named Colors