HEX atlas value

#D2C404

#D2C404 is a warm yellow HEX color close to Citrine. According to Colors Encyclopedia, it converts to RGB 210, 196, 4, HSL 56, 96%, 42%, has luminance 0.5319, and belongs to the vibrant group.

#D2C404 Sample readable text
HEX #D2C404
RGB rgb(210, 196, 4)
HSL hsl(56 96% 42%)
CMYK cmyk(0, 7, 98, 18)
Luminance 0.5319
Contrast Black 11.64:1White 1.8:1

CSS

--color-d2c404: #D2C404;
.background-d2c404 { background-color: #D2C404; }
.text-d2c404 { color: #D2C404; }

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.5319
Black text11.64:1AA Pass
White text1.8: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":"#D2C404","rgb":[210,196,4],"hsl":[56,96,42],"cmyk":[0,7,98,18],"luminance":0.5319,"contrast":{"black":11.64,"white":1.8}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":11.64,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":1.8,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#FBEE37","hex":"#FBEE37","family":"yellow","bestTextColor":"#000000","contrastBlack":17.39,"contrastWhite":1.21,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"Safety Yellow","hex":"#EED202","family":"yellow","bestTextColor":"#000000","contrastBlack":13.85,"contrastWhite":1.52,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Citrine","hex":"#E4D00A","family":"yellow","bestTextColor":"#000000","contrastBlack":13.33,"contrastWhite":1.58,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Industrial Yellow","hex":"#F3C300","family":"yellow","bestTextColor":"#000000","contrastBlack":12.62,"contrastWhite":1.66,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#D6C800","hex":"#D6C800","family":"yellow","bestTextColor":"#000000","contrastBlack":12.12,"contrastWhite":1.73,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]}]
AI context
{"semanticGroups":["warm yellow","vibrant","vibrant yellow","Citrine adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","high-energy accents","highlight and warning systems"],"contrastSafeWith":["#000000","#1A1A1A","#36454F"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/d2c404.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/citrine.json","https://www.colorsencyclopedia.com/api/colors/mustard-yellow.json","https://www.colorsencyclopedia.com/api/colors/safety-yellow.json"]}
Harmonies
{"complementary":"#0412D2","analogous":["#D25D04","#79D204"],"triadic":["#04D2C4","#C404D2"],"tetradic":["#04D25D","#0412D2","#D20479"],"splitComplementary":["#0479D2","#5D04D2"],"monochromatic":["#FBEE37","#D2C404","#787002"]}
Variants
{"light":"#FBEE37","dark":"#787002","saturated":"#D6C800","desaturated":"#BAB01C","pastel":"#EFE667","neon":"#FFEE00"}
Nearest named colors
[{"slug":"citrine","name":"Citrine","hex":"#E4D00A","distance":22.44994432064365},{"slug":"mustard-yellow","name":"Mustard Yellow","hex":"#E1AD01","distance":27.622454633866266},{"slug":"safety-yellow","name":"Safety Yellow","hex":"#EED202","distance":31.368774282716245},{"slug":"industrial-yellow","name":"Industrial Yellow","hex":"#F3C300","distance":33.25657829663178},{"slug":"acid-green","name":"Acid Green","hex":"#B0BF1A","distance":40.80441152620633}]

HEX meaning and use

About #D2C404

#D2C404 is classified as a warm yellow value with vibrant visual character. #D2C404 is visually closest to Citrine, a named yellow color with HEX #E4D00A.

The RGB channels are 210, 196, and 4, with red carrying the strongest channel weight. In HSL, the hue is 56deg with 96% saturation and 42% lightness, so this page treats it as a high-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 high-energy accents. Its luminance is 0.5319, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 22.45, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text11.64:1AA Pass
White text1.8:1AA Fail

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

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#00000011.64:1 · AAA
White text#FFFFFF1.8:1 · Fail

Accessible Alternatives

#FBEE37#000000 text · best 17.39:1#FBEE37
Safety Yellow#000000 text · best 13.85:1#EED202
Citrine#000000 text · best 13.33:1#E4D00A
Industrial Yellow#000000 text · best 12.62:1#F3C300
#D6C800#000000 text · best 12.12:1#D6C800

Generated Palette

#D2C404#D2C404
#0412D2#0412D2
#D25D04#D25D04
#79D204#79D204
#FBEE37#FBEE37
#787002#787002

Color Harmonies

#0412D2#0412D2
#D25D04#D25D04
#79D204#79D204
#04D2C4#04D2C4
#C404D2#C404D2

Variants

#FBEE37#FBEE37
#787002#787002
#D6C800#D6C800
#BAB01C#BAB01C
#EFE667#EFE667
#FFEE00#FFEE00

Nearest Named Colors