HEX atlas value

#D2CF7F

#D2CF7F is a warm yellow HEX color close to Straw. According to Colors Encyclopedia, it converts to RGB 210, 207, 127, HSL 58, 48%, 66%, has luminance 0.5986, and belongs to the earth tone group.

#D2CF7F Sample readable text
HEX #D2CF7F
RGB rgb(210, 207, 127)
HSL hsl(58 48% 66%)
CMYK cmyk(0, 1, 40, 18)
Luminance 0.5986
Contrast Black 12.97:1White 1.62:1

CSS

--color-d2cf7f: #D2CF7F;
.background-d2cf7f { background-color: #D2CF7F; }
.text-d2cf7f { color: #D2CF7F; }

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.5986
Black text12.97:1AA Pass
White text1.62: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":"#D2CF7F","rgb":[210,207,127],"hsl":[58,48,66],"cmyk":[0,1,40,18],"luminance":0.5986,"contrast":{"black":12.97,"white":1.62}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":12.97,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":1.62,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#EAE8C3","hex":"#EAE8C3","family":"yellow","bestTextColor":"#000000","contrastBlack":16.83,"contrastWhite":1.25,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#E5E16C","hex":"#E5E16C","family":"yellow","bestTextColor":"#000000","contrastBlack":15.32,"contrastWhite":1.37,"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":"#ABD27F","hex":"#ABD27F","family":"green","bestTextColor":"#000000","contrastBlack":12.26,"contrastWhite":1.71,"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","Straw 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/d2cf7f.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/straw.json","https://www.colorsencyclopedia.com/api/colors/champagne-gold.json","https://www.colorsencyclopedia.com/api/colors/burly-wood.json"]}
Harmonies
{"complementary":"#7F81D2","analogous":["#D2A67F","#ABD27F"],"triadic":["#7FD2CF","#CF7FD2"],"tetradic":["#7FD2A6","#7F81D2","#D27FAB"],"splitComplementary":["#7FABD2","#A67FD2"],"monochromatic":["#EAE8C3","#D2CF7F","#B5B140"]}
Variants
{"light":"#EAE8C3","dark":"#B5B140","saturated":"#E5E16C","desaturated":"#BFBD92","pastel":"#F0EFE0","neon":"#FFFB7A"}
Nearest named colors
[{"slug":"straw","name":"Straw","hex":"#E4D96F","distance":26.076809620810597},{"slug":"champagne-gold","name":"Champagne Gold","hex":"#D6B971","distance":26.38181191654584},{"slug":"burly-wood","name":"Burly Wood","hex":"#DEB887","distance":27.147743920996454},{"slug":"pale-gold","name":"Pale Gold","hex":"#E6BE8A","distance":28.460498941515414},{"slug":"tan","name":"Tan","hex":"#D2B48C","distance":29.966648127543394}]

HEX meaning and use

About #D2CF7F

#D2CF7F is classified as a warm yellow value with earth tone visual character. #D2CF7F is visually closest to Straw, a named yellow color with HEX #E4D96F.

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

WCAG Accessibility

Black text12.97:1AA Pass
White text1.62:1AA Fail

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

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#00000012.97:1 · AAA
White text#FFFFFF1.62:1 · Fail

Accessible Alternatives

#EAE8C3#000000 text · best 16.83:1#EAE8C3
#E5E16C#000000 text · best 15.32:1#E5E16C
Straw#000000 text · best 14.45:1#E4D96F
#ABD27F#000000 text · best 12.26:1#ABD27F
Pale Gold#000000 text · best 12.1:1#E6BE8A

Generated Palette

#D2CF7F#D2CF7F
#7F81D2#7F81D2
#D2A67F#D2A67F
#ABD27F#ABD27F
#EAE8C3#EAE8C3
#B5B140#B5B140

Color Harmonies

#7F81D2#7F81D2
#D2A67F#D2A67F
#ABD27F#ABD27F
#7FD2CF#7FD2CF
#CF7FD2#CF7FD2

Variants

#EAE8C3#EAE8C3
#B5B140#B5B140
#E5E16C#E5E16C
#BFBD92#BFBD92
#F0EFE0#F0EFE0
#FFFB7A#FFFB7A

Nearest Named Colors