#DCD99E#DCD99E
#DCD99E is a very light, moderate yellow. Relative luminance 0.673; OKLCH L 87.4% C 0.077 H 105.4°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD99E |
|---|---|
| RGB | rgb(220, 217, 158) |
| HSL | hsl(57, 47%, 74%) |
| HSV | hsv(57, 28%, 86%) |
| CMYK | cmyk(0%, 1.4%, 28.2%, 13.7%) |
| CIE-LAB | lab(85.66, -8.09, 29.52) |
| CIE-LCH | lch(85.66, 30.61, 105.32°) |
| OKLab | oklab(87.35% -0.0204 0.074) |
| OKLCH | oklch(87.35% 0.077 105.4) |
| XYZ | xyz(60.4999, 67.3110, 42.1464) |
| Luminance | 0.6731 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 3.42
Palegoldenrod
#EEE8AA
ΔE00 3.61
Vanilla
#F3E5AB
ΔE00 4.69
Light Tan
#FBEEAC
ΔE00 5.93
Greenish Beige
#C9D179
ΔE00 6.53
Khaki (CSS)
#F0E68C
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD99E #9EA1DC
analogous
#DCBA9E #DCD99E #C0DC9E
triadic
#DCD99E #9EDCD9 #D99EDC
tetradic
#DCD99E #9EDCBA #9EA1DC #DC9EC0
square
#DCD99E #9EDCBA #9EA1DC #DC9EC0
split-complementary
#DCD99E #9EC0DC #BA9EDC
monochromatic
#BCB644 #CCC771 #DCD99E #ECEBCB #F7F6E9
Accessibility & contrast
On white
1.45
#DCD99E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.46
#DCD99E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD99E
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD99E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD99E | 1.00 | 1.45 | 14.46 | 14.46 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3D49A
Deuteranopia (green-blind)
#E5D8A0
Tritanopia (blue-blind)
#E5D1C9
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #dcd99e; /* rgb */ color: rgb(220, 217, 158); /* oklch */ color: oklch(87.4% 0.077 105.4);
Tailwind
colors: {
custom: {
50: '#e7e4bb',
500: '#dcd99e',
950: '#000000',
},
}SCSS
$custom: #dcd99e; $custom-light: #e7e4bb; $custom-dark: #000000;
JSON
{
"hex": "#dcd99e",
"rgb": {
"r": 220,
"g": 217,
"b": 158
},
"hsl": {
"h": 57.097,
"s": 46.97,
"l": 74.118
},
"oklch": {
"l": 0.87354,
"c": 0.07681,
"h": 105.4
},
"luminance": 0.6731
}Semantic roles & 50–950 ramp
primary
#DCD99E
secondary
#6A6EB4
accent
#32BA2B
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161512
muted
#848482