HEX atlas value

#D2CC7F

#D2CC7F is a warm yellow HEX color close to Champagne Gold. According to Colors Encyclopedia, it converts to RGB 210, 204, 127, HSL 56, 48%, 66%, has luminance 0.5842, and belongs to the earth tone group.

#D2CC7F Sample readable text
HEX #D2CC7F
RGB rgb(210, 204, 127)
HSL hsl(56 48% 66%)
CMYK cmyk(0, 3, 40, 18)
Luminance 0.5842
Contrast Black 12.68:1White 1.66:1

CSS

--color-d2cc7f: #D2CC7F;
.background-d2cc7f { background-color: #D2CC7F; }
.text-d2cc7f { color: #D2CC7F; }

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.5842
Black text12.68:1AA Pass
White text1.66: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":"#D2CC7F","rgb":[210,204,127],"hsl":[56,48,66],"cmyk":[0,3,40,18],"luminance":0.5842,"contrast":{"black":12.68,"white":1.66}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":12.68,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":1.66,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#EAE7C3","hex":"#EAE7C3","family":"yellow","bestTextColor":"#000000","contrastBlack":16.72,"contrastWhite":1.26,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#E5DD6C","hex":"#E5DD6C","family":"yellow","bestTextColor":"#000000","contrastBlack":14.89,"contrastWhite":1.41,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"Straw","hex":"#E4D96F","family":"yellow","bestTextColor":"#000000","contrastBlack":14.45,"contrastWhite":1.45,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#AED27F","hex":"#AED27F","family":"green","bestTextColor":"#000000","contrastBlack":12.32,"contrastWhite":1.7,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Pale Gold","hex":"#E6BE8A","family":"orange","bestTextColor":"#000000","contrastBlack":12.1,"contrastWhite":1.74,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]}]
AI context
{"semanticGroups":["warm yellow","earth tone","earth tone yellow","Champagne Gold adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","natural palettes","highlight and warning systems"],"contrastSafeWith":["#000000","#1A1A1A","#36454F"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/d2cc7f.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/champagne-gold.json","https://www.colorsencyclopedia.com/api/colors/burly-wood.json","https://www.colorsencyclopedia.com/api/colors/pale-gold.json"]}
Harmonies
{"complementary":"#7F84D2","analogous":["#D2A37F","#AED27F"],"triadic":["#7FD2CC","#CC7FD2"],"tetradic":["#7FD2A3","#7F84D2","#D27FAE"],"splitComplementary":["#7FAED2","#A37FD2"],"monochromatic":["#EAE7C3","#D2CC7F","#B5AD40"]}
Variants
{"light":"#EAE7C3","dark":"#B5AD40","saturated":"#E5DD6C","desaturated":"#BFBC92","pastel":"#F0EFE0","neon":"#FFF67A"}
Nearest named colors
[{"slug":"champagne-gold","name":"Champagne Gold","hex":"#D6B971","distance":23.93741840717165},{"slug":"burly-wood","name":"Burly Wood","hex":"#DEB887","distance":24.657656011875904},{"slug":"pale-gold","name":"Pale Gold","hex":"#E6BE8A","distance":26.77685567799177},{"slug":"tan","name":"Tan","hex":"#D2B48C","distance":27.294688127912362},{"slug":"straw","name":"Straw","hex":"#E4D96F","distance":27.367864366808018}]

HEX meaning and use

About #D2CC7F

#D2CC7F is classified as a warm yellow value with earth tone visual character. #D2CC7F is visually closest to Champagne Gold, a named orange color with HEX #D6B971.

The RGB channels are 210, 204, and 127, with red carrying the strongest channel weight. In HSL, the hue is 56deg with 48% saturation and 66% lightness, so this page treats it as a moderate-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 natural palettes. Its luminance is 0.5842, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 23.94, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text12.68:1AA Pass
White text1.66:1AA Fail

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

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#00000012.68:1 · AAA
White text#FFFFFF1.66:1 · Fail

Accessible Alternatives

#EAE7C3#000000 text · best 16.72:1#EAE7C3
#E5DD6C#000000 text · best 14.89:1#E5DD6C
Straw#000000 text · best 14.45:1#E4D96F
#AED27F#000000 text · best 12.32:1#AED27F
Pale Gold#000000 text · best 12.1:1#E6BE8A

Generated Palette

#D2CC7F#D2CC7F
#7F84D2#7F84D2
#D2A37F#D2A37F
#AED27F#AED27F
#EAE7C3#EAE7C3
#B5AD40#B5AD40

Color Harmonies

#7F84D2#7F84D2
#D2A37F#D2A37F
#AED27F#AED27F
#7FD2CC#7FD2CC
#CC7FD2#CC7FD2

Variants

#EAE7C3#EAE7C3
#B5AD40#B5AD40
#E5DD6C#E5DD6C
#BFBC92#BFBC92
#F0EFE0#F0EFE0
#FFF67A#FFF67A

Nearest Named Colors