#DCD47C#DCD47C
#DCD47C is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.7% C 0.110 H 103.9°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD47C |
|---|---|
| RGB | rgb(220, 212, 124) |
| HSL | hsl(55, 58%, 67%) |
| HSV | hsv(55, 44%, 86%) |
| CMYK | cmyk(0%, 3.6%, 43.6%, 13.7%) |
| CIE-LAB | lab(83.84, -9.45, 44.38) |
| CIE-LCH | lch(83.84, 45.37, 102.02°) |
| OKLab | oklab(85.74% -0.0265 0.107) |
| OKLCH | oklch(85.74% 0.11 103.9) |
| XYZ | xyz(56.6980, 63.7594, 28.3850) |
| Luminance | 0.6376 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 4.20
Greenish Beige
#C9D179
ΔE00 4.51
Sandy
#F1DA7A
ΔE00 4.72
Sand (survey)
#E2CA76
ΔE00 4.97
Dull Yellow
#EEDC5B
ΔE00 6.35
Wheat (survey)
#FBDD7E
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD47C #7C84DC
analogous
#DCA47C #DCD47C #B4DC7C
triadic
#DCD47C #7CDCD4 #D47CDC
tetradic
#DCD47C #7CDCA4 #7C84DC #DC7CB4
square
#DCD47C #7CDCA4 #7C84DC #DC7CB4
split-complementary
#DCD47C #7CB4DC #A47CDC
monochromatic
#AFA42F #CFC44C #DCD47C #E9E4AC #F6F4DD
Accessibility & contrast
On white
1.53
#DCD47C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.75
#DCD47C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD47C
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD47C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD47C | 1.00 | 1.53 | 13.75 | 13.75 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CE75
Deuteranopia (green-blind)
#E5D380
Tritanopia (blue-blind)
#E9C9BF
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #dcd47c; /* rgb */ color: rgb(220, 212, 124); /* oklch */ color: oklch(85.7% 0.110 103.9);
Tailwind
colors: {
custom: {
50: '#e8e1a3',
500: '#dcd47c',
950: '#000000',
},
}SCSS
$custom: #dcd47c; $custom-light: #e8e1a3; $custom-dark: #000000;
JSON
{
"hex": "#dcd47c",
"rgb": {
"r": 220,
"g": 212,
"b": 124
},
"hsl": {
"h": 55,
"s": 57.831,
"l": 67.451
},
"oklch": {
"l": 0.85741,
"c": 0.11027,
"h": 103.9
},
"luminance": 0.63758
}Semantic roles & 50–950 ramp
primary
#DCD47C
secondary
#4B54B1
accent
#2EC520
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480