HEX atlas value

#DFD40C

#DFD40C is a warm yellow HEX color close to Citrine. According to Colors Encyclopedia, it converts to RGB 223, 212, 12, HSL 57, 90%, 46%, has luminance 0.628, and belongs to the vibrant group.

#DFD40C Sample readable text
HEX #DFD40C
RGB rgb(223, 212, 12)
HSL hsl(57 90% 46%)
CMYK cmyk(0, 5, 95, 13)
Luminance 0.628
Contrast Black 13.56:1White 1.55:1

CSS

--color-dfd40c: #DFD40C;
.background-dfd40c { background-color: #DFD40C; }
.text-dfd40c { color: #DFD40C; }

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.628
Black text13.56:1AA Pass
White text1.55: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":"#DFD40C","rgb":[223,212,12],"hsl":[57,90,46],"cmyk":[0,5,95,13],"luminance":0.628,"contrast":{"black":13.56,"white":1.55}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":13.56,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":1.55,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#F6EE51","hex":"#F6EE51","family":"yellow","bestTextColor":"#000000","contrastBlack":17.27,"contrastWhite":1.22,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#EBDF00","hex":"#EBDF00","family":"yellow","bestTextColor":"#000000","contrastBlack":15.09,"contrastWhite":1.39,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"Gold","hex":"#FFD700","family":"yellow","bestTextColor":"#000000","contrastBlack":14.97,"contrastWhite":1.4,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"Cyber Yellow","hex":"#FFD300","family":"yellow","bestTextColor":"#000000","contrastBlack":14.57,"contrastWhite":1.44,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Safety Yellow","hex":"#EED202","family":"yellow","bestTextColor":"#000000","contrastBlack":13.85,"contrastWhite":1.52,"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/dfd40c.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":"#0C16DF","analogous":["#DF6B0C","#80DF0C"],"triadic":["#0CDFD4","#D40CDF"],"tetradic":["#0CDF6B","#0C16DF","#DF0C80"],"splitComplementary":["#0C80DF","#6B0CDF"],"monochromatic":["#F6EE51","#DFD40C","#888107"]}
Variants
{"light":"#F6EE51","dark":"#888107","saturated":"#EBDF00","desaturated":"#C5BD26","pastel":"#EDE77E","neon":"#FFF314"}
Nearest named colors
[{"slug":"citrine","name":"Citrine","hex":"#E4D00A","distance":6.708203932499369},{"slug":"safety-yellow","name":"Safety Yellow","hex":"#EED202","distance":18.138357147217054},{"slug":"industrial-yellow","name":"Industrial Yellow","hex":"#F3C300","distance":28.861739379323623},{"slug":"cyber-yellow","name":"Cyber Yellow","hex":"#FFD300","distance":34.19064199455752},{"slug":"gold","name":"Gold","hex":"#FFD700","distance":34.307433596816885}]

HEX meaning and use

About #DFD40C

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

The RGB channels are 223, 212, and 12, with red carrying the strongest channel weight. In HSL, the hue is 57deg with 90% saturation and 46% 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.628, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 6.71, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text13.56:1AA Pass
White text1.55:1AA Fail

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

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#00000013.56:1 · AAA
White text#FFFFFF1.55:1 · Fail

Accessible Alternatives

#F6EE51#000000 text · best 17.27:1#F6EE51
#EBDF00#000000 text · best 15.09:1#EBDF00
Gold#000000 text · best 14.97:1#FFD700
Cyber Yellow#000000 text · best 14.57:1#FFD300
Safety Yellow#000000 text · best 13.85:1#EED202

Generated Palette

#DFD40C#DFD40C
#0C16DF#0C16DF
#DF6B0C#DF6B0C
#80DF0C#80DF0C
#F6EE51#F6EE51
#888107#888107

Color Harmonies

#0C16DF#0C16DF
#DF6B0C#DF6B0C
#80DF0C#80DF0C
#0CDFD4#0CDFD4
#D40CDF#D40CDF

Variants

#F6EE51#F6EE51
#888107#888107
#EBDF00#EBDF00
#C5BD26#C5BD26
#EDE77E#EDE77E
#FFF314#FFF314

Nearest Named Colors