HEX atlas value

#D2D204

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

#D2D204 Sample readable text
HEX #D2D204
RGB rgb(210, 210, 4)
HSL hsl(60 96% 42%)
CMYK cmyk(0, 0, 98, 18)
Luminance 0.598
Contrast Black 12.96:1White 1.62:1

CSS

--color-d2d204: #D2D204;
.background-d2d204 { background-color: #D2D204; }
.text-d2d204 { color: #D2D204; }

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.598
Black text12.96: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":"#D2D204","rgb":[210,210,4],"hsl":[60,96,42],"cmyk":[0,0,98,18],"luminance":0.598,"contrast":{"black":12.96,"white":1.62}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":12.96,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":1.62,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#FBFB37","hex":"#FBFB37","family":"yellow","bestTextColor":"#000000","contrastBlack":18.96,"contrastWhite":1.11,"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":"#D6D600","hex":"#D6D600","family":"yellow","bestTextColor":"#000000","contrastBlack":13.48,"contrastWhite":1.56,"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"]}]
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/d2d204.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/citrine.json","https://www.colorsencyclopedia.com/api/colors/safety-yellow.json","https://www.colorsencyclopedia.com/api/colors/industrial-yellow.json"]}
Harmonies
{"complementary":"#0404D2","analogous":["#D26B04","#6BD204"],"triadic":["#04D2D2","#D204D2"],"tetradic":["#04D26B","#0404D2","#D2046B"],"splitComplementary":["#046BD2","#6B04D2"],"monochromatic":["#FBFB37","#D2D204","#787802"]}
Variants
{"light":"#FBFB37","dark":"#787802","saturated":"#D6D600","desaturated":"#BABA1C","pastel":"#EFEF67","neon":"#FFFF00"}
Nearest named colors
[{"slug":"citrine","name":"Citrine","hex":"#E4D00A","distance":19.078784028338912},{"slug":"safety-yellow","name":"Safety Yellow","hex":"#EED202","distance":28.071337695236398},{"slug":"industrial-yellow","name":"Industrial Yellow","hex":"#F3C300","distance":36.46916505762094},{"slug":"mustard-yellow","name":"Mustard Yellow","hex":"#E1AD01","distance":40.0374824383352},{"slug":"acid-green","name":"Acid Green","hex":"#B0BF1A","distance":44.73253849269008}]

HEX meaning and use

About #D2D204

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

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

WCAG Accessibility

Black text12.96: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 #D2D204 needs readable text, badges, interface states, or nearby accessible alternatives.

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

Accessible Alternatives

#FBFB37#000000 text · best 18.96:1#FBFB37
Safety Yellow#000000 text · best 13.85:1#EED202
#D6D600#000000 text · best 13.48:1#D6D600
Citrine#000000 text · best 13.33:1#E4D00A
Industrial Yellow#000000 text · best 12.62:1#F3C300

Generated Palette

#D2D204#D2D204
#0404D2#0404D2
#D26B04#D26B04
#6BD204#6BD204
#FBFB37#FBFB37
#787802#787802

Color Harmonies

#0404D2#0404D2
#D26B04#D26B04
#6BD204#6BD204
#04D2D2#04D2D2
#D204D2#D204D2

Variants

#FBFB37#FBFB37
#787802#787802
#D6D600#D6D600
#BABA1C#BABA1C
#EFEF67#EFEF67
Yellow#FFFF00

Nearest Named Colors