#DCD47D#DCD47D
#DCD47D is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.8% C 0.109 H 103.8°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD47D |
|---|---|
| RGB | rgb(220, 212, 125) |
| HSL | hsl(55, 58%, 68%) |
| HSV | hsv(55, 43%, 86%) |
| CMYK | cmyk(0%, 3.6%, 43.2%, 13.7%) |
| CIE-LAB | lab(83.85, -9.35, 43.90) |
| CIE-LCH | lch(83.85, 44.88, 102.02°) |
| OKLab | oklab(85.76% -0.0261 0.106) |
| OKLCH | oklch(85.76% 0.109 103.8) |
| XYZ | xyz(56.7615, 63.7848, 28.7197) |
| Luminance | 0.6378 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 4.20
Greenish Beige
#C9D179
ΔE00 4.50
Sandy
#F1DA7A
ΔE00 4.76
Sand (survey)
#E2CA76
ΔE00 4.95
Dull Yellow
#EEDC5B
ΔE00 6.48
Palegoldenrod
#EEE8AA
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD47D #7D85DC
analogous
#DCA47D #DCD47D #B5DC7D
triadic
#DCD47D #7DDCD4 #D47DDC
tetradic
#DCD47D #7DDCA4 #7D85DC #DC7DB5
square
#DCD47D #7DDCA4 #7D85DC #DC7DB5
split-complementary
#DCD47D #7DB5DC #A47DDC
monochromatic
#AFA52F #CFC44D #DCD47D #E9E4AD #F6F4DD
Accessibility & contrast
On white
1.53
#DCD47D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.76
#DCD47D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD47D
13.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD47D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD47D | 1.00 | 1.53 | 13.76 | 13.76 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CE76
Deuteranopia (green-blind)
#E5D381
Tritanopia (blue-blind)
#E9C9BF
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #dcd47d; /* rgb */ color: rgb(220, 212, 125); /* oklch */ color: oklch(85.8% 0.109 103.8);
Tailwind
colors: {
custom: {
50: '#e8e1a4',
500: '#dcd47d',
950: '#000000',
},
}SCSS
$custom: #dcd47d; $custom-light: #e8e1a4; $custom-dark: #000000;
JSON
{
"hex": "#dcd47d",
"rgb": {
"r": 220,
"g": 212,
"b": 125
},
"hsl": {
"h": 54.947,
"s": 57.576,
"l": 67.647
},
"oklch": {
"l": 0.85756,
"c": 0.1092,
"h": 103.8
},
"luminance": 0.63783
}Semantic roles & 50–950 ramp
primary
#DCD47D
secondary
#4C54B2
accent
#2EC520
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480