HEX atlas value

#D4D12B

#D4D12B is a warm yellow HEX color close to Pear. According to Colors Encyclopedia, it converts to RGB 212, 209, 43, HSL 59, 66%, 50%, has luminance 0.5977, and belongs to the balanced group.

#D4D12B Sample readable text
HEX #D4D12B
RGB rgb(212, 209, 43)
HSL hsl(59 66% 50%)
CMYK cmyk(0, 1, 80, 17)
Luminance 0.5977
Contrast Black 12.95:1White 1.62:1

CSS

--color-d4d12b: #D4D12B;
.background-d4d12b { background-color: #D4D12B; }
.text-d4d12b { color: #D4D12B; }

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.5977
Black text12.95:1AA Pass
White text1.62: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":"#D4D12B","rgb":[212,209,43],"hsl":[59,66,50],"cmyk":[0,1,80,17],"luminance":0.5977,"contrast":{"black":12.95,"white":1.62}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":12.95,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":1.62,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#F0EC0F","hex":"#F0EC0F","family":"yellow","bestTextColor":"#000000","contrastBlack":16.71,"contrastWhite":1.26,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"Dandelion","hex":"#F0E130","family":"yellow","bestTextColor":"#000000","contrastBlack":15.52,"contrastWhite":1.35,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#E3E178","hex":"#E3E178","family":"yellow","bestTextColor":"#000000","contrastBlack":15.31,"contrastWhite":1.37,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"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"]}]
AI context
{"semanticGroups":["warm yellow","balanced","balanced yellow","Pear 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/d4d12b.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/pear.json","https://www.colorsencyclopedia.com/api/colors/dandelion.json","https://www.colorsencyclopedia.com/api/colors/old-gold.json"]}
Harmonies
{"complementary":"#2B2ED4","analogous":["#D47D2B","#82D42B"],"triadic":["#2BD4D1","#D12BD4"],"tetradic":["#2BD47D","#2B2ED4","#D42B82"],"splitComplementary":["#2B82D4","#7D2BD4"],"monochromatic":["#E3E178","#D4D12B","#87861C"]}
Variants
{"light":"#E3E178","dark":"#87861C","saturated":"#F0EC0F","desaturated":"#B8B647","pastel":"#E0DF9F","neon":"#FFFB29"}
Nearest named colors
[{"slug":"pear","name":"Pear","hex":"#D1E231","distance":18.275666882497067},{"slug":"dandelion","name":"Dandelion","hex":"#F0E130","distance":32.63433774416144},{"slug":"old-gold","name":"Old Gold","hex":"#CFB53B","distance":32.63433774416144},{"slug":"saffron","name":"Saffron","hex":"#F4C430","distance":34.899856733230294},{"slug":"peridot","name":"Peridot","hex":"#B4C424","distance":35.24202037341219}]

HEX meaning and use

About #D4D12B

#D4D12B is classified as a warm yellow value with balanced visual character. #D4D12B is visually closest to Pear, a named yellow color with HEX #D1E231.

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

WCAG Accessibility

Black text12.95:1AA Pass
White text1.62:1AA Fail

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

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#00000012.95:1 · AAA
White text#FFFFFF1.62:1 · Fail

Accessible Alternatives

#F0EC0F#000000 text · best 16.71:1#F0EC0F
Dandelion#000000 text · best 15.52:1#F0E130
#E3E178#000000 text · best 15.31:1#E3E178
Pear#000000 text · best 14.63:1#D1E231
Saffron#000000 text · best 12.79:1#F4C430

Generated Palette

#D4D12B#D4D12B
#2B2ED4#2B2ED4
#D47D2B#D47D2B
#82D42B#82D42B
#E3E178#E3E178
#87861C#87861C

Color Harmonies

#2B2ED4#2B2ED4
#D47D2B#D47D2B
#82D42B#82D42B
#2BD4D1#2BD4D1
#D12BD4#D12BD4

Variants

#E3E178#E3E178
#87861C#87861C
#F0EC0F#F0EC0F
#B8B647#B8B647
#E0DF9F#E0DF9F
#FFFB29#FFFB29

Nearest Named Colors