HEX atlas value

#D2A904

#D2A904 is a warm yellow HEX color close to Mustard Yellow. According to Colors Encyclopedia, it converts to RGB 210, 169, 4, HSL 48, 96%, 42%, has luminance 0.4209, and belongs to the vibrant group.

#D2A904 Sample readable text
HEX #D2A904
RGB rgb(210, 169, 4)
HSL hsl(48 96% 42%)
CMYK cmyk(0, 20, 98, 18)
Luminance 0.4209
Contrast Black 9.42:1White 2.23:1

CSS

--color-d2a904: #D2A904;
.background-d2a904 { background-color: #D2A904; }
.text-d2a904 { color: #D2A904; }

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.4209
Black text9.42:1AA Pass
White text2.23: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":"#D2A904","rgb":[210,169,4],"hsl":[48,96,42],"cmyk":[0,20,98,18],"luminance":0.4209,"contrast":{"black":9.42,"white":2.23}}
WCAG
{"AA":["#000000","#1A1A1A"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":9.42,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":2.23,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#FBD437","hex":"#FBD437","family":"yellow","bestTextColor":"#000000","contrastBlack":14.57,"contrastWhite":1.44,"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":"#94D204","hex":"#94D204","family":"green","bestTextColor":"#000000","contrastBlack":11.48,"contrastWhite":1.83,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Mustard Yellow","hex":"#E1AD01","family":"yellow","bestTextColor":"#000000","contrastBlack":10.18,"contrastWhite":2.06,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]}]
AI context
{"semanticGroups":["warm yellow","vibrant","vibrant yellow","Mustard Yellow adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","high-energy accents","highlight and warning systems"],"contrastSafeWith":["#000000","#1A1A1A"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/d2a904.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/mustard-yellow.json","https://www.colorsencyclopedia.com/api/colors/goldenrod.json","https://www.colorsencyclopedia.com/api/colors/marigold.json"]}
Harmonies
{"complementary":"#042DD2","analogous":["#D24204","#94D204"],"triadic":["#04D2A9","#A904D2"],"tetradic":["#04D242","#042DD2","#D20494"],"splitComplementary":["#0494D2","#4204D2"],"monochromatic":["#FBD437","#D2A904","#786002"]}
Variants
{"light":"#FBD437","dark":"#786002","saturated":"#D6AB00","desaturated":"#BA9B1C","pastel":"#EFD467","neon":"#FFCC00"}
Nearest named colors
[{"slug":"mustard-yellow","name":"Mustard Yellow","hex":"#E1AD01","distance":15.811388300841896},{"slug":"goldenrod","name":"Goldenrod","hex":"#DAA520","distance":29.393876913398138},{"slug":"marigold","name":"Marigold","hex":"#EAA221","distance":38.28837943815329},{"slug":"industrial-yellow","name":"Industrial Yellow","hex":"#F3C300","distance":42.20189569201838},{"slug":"citrine","name":"Citrine","hex":"#E4D00A","distance":43.37049688440288}]

HEX meaning and use

About #D2A904

#D2A904 is classified as a warm yellow value with vibrant visual character. #D2A904 is visually closest to Mustard Yellow, a named yellow color with HEX #E1AD01.

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

WCAG Accessibility

Black text9.42:1AA Pass
White text2.23:1AA Fail

AA text options: #000000, #1A1A1A.

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000009.42:1 · AAA
White text#FFFFFF2.23:1 · Fail

Accessible Alternatives

#FBD437#000000 text · best 14.57:1#FBD437
Citrine#000000 text · best 13.33:1#E4D00A
Industrial Yellow#000000 text · best 12.62:1#F3C300
#94D204#000000 text · best 11.48:1#94D204
Mustard Yellow#000000 text · best 10.18:1#E1AD01

Generated Palette

#D2A904#D2A904
#042DD2#042DD2
#D24204#D24204
#94D204#94D204
#FBD437#FBD437
#786002#786002

Color Harmonies

#042DD2#042DD2
#D24204#D24204
#94D204#94D204
#04D2A9#04D2A9
#A904D2#A904D2

Variants

#FBD437#FBD437
#786002#786002
#D6AB00#D6AB00
#BA9B1C#BA9B1C
#EFD467#EFD467
Caution Yellow#FFCC00

Nearest Named Colors