HEX atlas value

#D2B004

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

#D2B004 Sample readable text
HEX #D2B004
RGB rgb(210, 176, 4)
HSL hsl(50 96% 42%)
CMYK cmyk(0, 16, 98, 18)
Luminance 0.4476
Contrast Black 9.95:1White 2.11:1

CSS

--color-d2b004: #D2B004;
.background-d2b004 { background-color: #D2B004; }
.text-d2b004 { color: #D2B004; }

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.4476
Black text9.95:1AA Pass
White text2.11: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":"#D2B004","rgb":[210,176,4],"hsl":[50,96,42],"cmyk":[0,16,98,18],"luminance":0.4476,"contrast":{"black":9.95,"white":2.11}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":9.95,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":2.11,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#FBDA37","hex":"#FBDA37","family":"yellow","bestTextColor":"#000000","contrastBlack":15.19,"contrastWhite":1.38,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"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":"#8DD204","hex":"#8DD204","family":"green","bestTextColor":"#000000","contrastBlack":11.35,"contrastWhite":1.85,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#D6B300","hex":"#D6B300","family":"yellow","bestTextColor":"#000000","contrastBlack":10.31,"contrastWhite":2.04,"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","#36454F"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/d2b004.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/citrine.json"]}
Harmonies
{"complementary":"#0427D2","analogous":["#D24904","#8DD204"],"triadic":["#04D2B0","#B004D2"],"tetradic":["#04D249","#0427D2","#D2048D"],"splitComplementary":["#048DD2","#4904D2"],"monochromatic":["#FBDA37","#D2B004","#786402"]}
Variants
{"light":"#FBDA37","dark":"#786402","saturated":"#D6B300","desaturated":"#BAA01C","pastel":"#EFD867","neon":"#FFD500"}
Nearest named colors
[{"slug":"mustard-yellow","name":"Mustard Yellow","hex":"#E1AD01","distance":15.588457268119896},{"slug":"goldenrod","name":"Goldenrod","hex":"#DAA520","distance":31.12876483254676},{"slug":"citrine","name":"Citrine","hex":"#E4D00A","distance":37.20215047547655},{"slug":"industrial-yellow","name":"Industrial Yellow","hex":"#F3C300","distance":38.28837943815329},{"slug":"marigold","name":"Marigold","hex":"#EAA221","distance":40.162171256046406}]

HEX meaning and use

About #D2B004

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

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

WCAG Accessibility

Black text9.95:1AA Pass
White text2.11:1AA Fail

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

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000009.95:1 · AAA
White text#FFFFFF2.11:1 · Fail

Accessible Alternatives

#FBDA37#000000 text · best 15.19:1#FBDA37
Citrine#000000 text · best 13.33:1#E4D00A
Industrial Yellow#000000 text · best 12.62:1#F3C300
#8DD204#000000 text · best 11.35:1#8DD204
#D6B300#000000 text · best 10.31:1#D6B300

Generated Palette

#D2B004#D2B004
#0427D2#0427D2
#D24904#D24904
#8DD204#8DD204
#FBDA37#FBDA37
#786402#786402

Color Harmonies

#0427D2#0427D2
#D24904#D24904
#8DD204#8DD204
#04D2B0#04D2B0
#B004D2#B004D2

Variants

#FBDA37#FBDA37
#786402#786402
#D6B300#D6B300
#BAA01C#BAA01C
#EFD867#EFD867
#FFD500#FFD500

Nearest Named Colors