HEX atlas value

#D8DF0C

#D8DF0C is a warm yellow HEX color close to Citrine. According to Colors Encyclopedia, it converts to RGB 216, 223, 12, HSL 62, 90%, 46%, has luminance 0.674, and belongs to the vibrant group.

#D8DF0C Sample readable text
HEX #D8DF0C
RGB rgb(216, 223, 12)
HSL hsl(62 90% 46%)
CMYK cmyk(3, 0, 95, 13)
Luminance 0.674
Contrast Black 14.48:1White 1.45:1

CSS

--color-d8df0c: #D8DF0C;
.background-d8df0c { background-color: #D8DF0C; }
.text-d8df0c { color: #D8DF0C; }

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.674
Black text14.48:1AA Pass
White text1.45: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":"#D8DF0C","rgb":[216,223,12],"hsl":[62,90,46],"cmyk":[3,0,95,13],"luminance":0.674,"contrast":{"black":14.48,"white":1.45}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":14.48,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":1.45,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"Chartreuse Green","hex":"#DFFF00","family":"yellow","bestTextColor":"#000000","contrastBlack":18.44,"contrastWhite":1.14,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#F0F651","hex":"#F0F651","family":"yellow","bestTextColor":"#000000","contrastBlack":18.01,"contrastWhite":1.17,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"Electric Lime","hex":"#CCFF00","family":"green","bestTextColor":"#000000","contrastBlack":17.87,"contrastWhite":1.18,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#E3EB00","hex":"#E3EB00","family":"yellow","bestTextColor":"#000000","contrastBlack":16.15,"contrastWhite":1.3,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"Pear","hex":"#D1E231","family":"yellow","bestTextColor":"#000000","contrastBlack":14.63,"contrastWhite":1.44,"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/d8df0c.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/chartreuse-green.json"]}
Harmonies
{"complementary":"#130CDF","analogous":["#DF7C0C","#6EDF0C"],"triadic":["#0CD8DF","#DF0CD8"],"tetradic":["#0CDF7C","#130CDF","#DF0C6E"],"splitComplementary":["#0C6EDF","#7C0CDF"],"monochromatic":["#F0F651","#D8DF0C","#838807"]}
Variants
{"light":"#F0F651","dark":"#838807","saturated":"#E3EB00","desaturated":"#C0C526","pastel":"#E9ED7E","neon":"#F7FF14"}
Nearest named colors
[{"slug":"citrine","name":"Citrine","hex":"#E4D00A","distance":19.313207915827967},{"slug":"safety-yellow","name":"Safety Yellow","hex":"#EED202","distance":27.440845468024488},{"slug":"chartreuse-green","name":"Chartreuse Green","hex":"#DFFF00","distance":34.88552708502482},{"slug":"electric-lime","name":"Electric Lime","hex":"#CCFF00","distance":36.22154055254967},{"slug":"pear","name":"Pear","hex":"#D1E231","distance":37.77565353504821}]

HEX meaning and use

About #D8DF0C

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

The RGB channels are 216, 223, and 12, with green carrying the strongest channel weight. In HSL, the hue is 62deg 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.674, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 19.31, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text14.48:1AA Pass
White text1.45:1AA Fail

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

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#00000014.48:1 · AAA
White text#FFFFFF1.45:1 · Fail

Accessible Alternatives

Chartreuse Green#000000 text · best 18.44:1#DFFF00
#F0F651#000000 text · best 18.01:1#F0F651
Electric Lime#000000 text · best 17.87:1#CCFF00
#E3EB00#000000 text · best 16.15:1#E3EB00
Pear#000000 text · best 14.63:1#D1E231

Generated Palette

#D8DF0C#D8DF0C
#130CDF#130CDF
#DF7C0C#DF7C0C
#6EDF0C#6EDF0C
#F0F651#F0F651
#838807#838807

Color Harmonies

#130CDF#130CDF
#DF7C0C#DF7C0C
#6EDF0C#6EDF0C
#0CD8DF#0CD8DF
#DF0CD8#DF0CD8

Variants

#F0F651#F0F651
#838807#838807
#E3EB00#E3EB00
#C0C526#C0C526
#E9ED7E#E9ED7E
#F7FF14#F7FF14

Nearest Named Colors