HEX atlas value

#D4B22B

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

#D4B22B Sample readable text
HEX #D4B22B
RGB rgb(212, 178, 43)
HSL hsl(48 66% 50%)
CMYK cmyk(0, 16, 80, 17)
Luminance 0.4601
Contrast Black 10.2:1White 2.06:1

CSS

--color-d4b22b: #D4B22B;
.background-d4b22b { background-color: #D4B22B; }
.text-d4b22b { color: #D4B22B; }

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.4601
Black text10.2:1AA Pass
White text2.06: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":"#D4B22B","rgb":[212,178,43],"hsl":[48,66,50],"cmyk":[0,16,80,17],"luminance":0.4601,"contrast":{"black":10.2,"white":2.06}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":10.2,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":2.06,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#E3CE78","hex":"#E3CE78","family":"yellow","bestTextColor":"#000000","contrastBlack":13.37,"contrastWhite":1.57,"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":"#F0C30F","hex":"#F0C30F","family":"yellow","bestTextColor":"#000000","contrastBlack":12.52,"contrastWhite":1.68,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#A1D42B","hex":"#A1D42B","family":"green","bestTextColor":"#000000","contrastBlack":11.97,"contrastWhite":1.75,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Old Gold","hex":"#CFB53B","family":"yellow","bestTextColor":"#000000","contrastBlack":10.33,"contrastWhite":2.03,"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/d4b22b.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":"#2B4DD4","analogous":["#D45E2B","#A1D42B"],"triadic":["#2BD4B2","#B22BD4"],"tetradic":["#2BD45E","#2B4DD4","#D42BA1"],"splitComplementary":["#2BA1D4","#5E2BD4"],"monochromatic":["#E3CE78","#D4B22B","#87721C"]}
Variants
{"light":"#E3CE78","dark":"#87721C","saturated":"#F0C30F","desaturated":"#B8A147","pastel":"#E0D39F","neon":"#FFD429"}
Nearest named colors
[{"slug":"old-gold","name":"Old Gold","hex":"#CFB53B","distance":17.029386365926403},{"slug":"goldenrod","name":"Goldenrod","hex":"#DAA520","distance":18.05547008526779},{"slug":"marigold","name":"Marigold","hex":"#EAA221","distance":28.982753492378876},{"slug":"butterscotch","name":"Butterscotch","hex":"#E3963E","distance":37.013511046643494},{"slug":"saffron","name":"Saffron","hex":"#F4C430","distance":37.05401462729781}]

HEX meaning and use

About #D4B22B

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

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

WCAG Accessibility

Black text10.2:1AA Pass
White text2.06:1AA Fail

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

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#00000010.2:1 · AAA
White text#FFFFFF2.06:1 · Fail

Accessible Alternatives

#E3CE78#000000 text · best 13.37:1#E3CE78
Saffron#000000 text · best 12.79:1#F4C430
#F0C30F#000000 text · best 12.52:1#F0C30F
#A1D42B#000000 text · best 11.97:1#A1D42B
Old Gold#000000 text · best 10.33:1#CFB53B

Generated Palette

#D4B22B#D4B22B
#2B4DD4#2B4DD4
#D45E2B#D45E2B
#A1D42B#A1D42B
#E3CE78#E3CE78
#87721C#87721C

Color Harmonies

#2B4DD4#2B4DD4
#D45E2B#D45E2B
#A1D42B#A1D42B
#2BD4B2#2BD4B2
#B22BD4#B22BD4

Variants

#E3CE78#E3CE78
#87721C#87721C
#F0C30F#F0C30F
#B8A147#B8A147
#E0D39F#E0D39F
#FFD429#FFD429

Nearest Named Colors