#DCD992#DCD992
#DCD992 is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.1% C 0.091 H 106.1°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD992 |
|---|---|
| RGB | rgb(220, 217, 146) |
| HSL | hsl(58, 51%, 72%) |
| HSV | hsv(58, 34%, 86%) |
| CMYK | cmyk(0%, 1.4%, 33.6%, 13.7%) |
| CIE-LAB | lab(85.46, -9.57, 35.41) |
| CIE-LCH | lch(85.46, 36.68, 105.13°) |
| OKLab | oklab(87.13% -0.0253 0.0876) |
| OKLCH | oklch(87.13% 0.091 106.1) |
| XYZ | xyz(59.5169, 66.9179, 36.9697) |
| Luminance | 0.6692 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Palegoldenrod
#EEE8AA
ΔE00 4.16
Greenish Beige
#C9D179
ΔE00 4.73
Khaki (CSS)
#F0E68C
ΔE00 4.84
Beige (survey)
#E6DAA6
ΔE00 4.97
Vanilla
#F3E5AB
ΔE00 5.46
Light Tan
#FBEEAC
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD992 #9295DC
analogous
#DCB492 #DCD992 #BADC92
triadic
#DCD992 #92DCD9 #D992DC
tetradic
#DCD992 #92DCB4 #9295DC #DC92BA
square
#DCD992 #92DCB4 #9295DC #DC92BA
split-complementary
#DCD992 #92BADC #B492DC
monochromatic
#B8B33B #CDC964 #DCD992 #EBE9C0 #F8F7E8
Accessibility & contrast
On white
1.46
#DCD992 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.38
#DCD992 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD992
14.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD992 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD992 | 1.00 | 1.46 | 14.38 | 14.38 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5D48D
Deuteranopia (green-blind)
#E6D795
Tritanopia (blue-blind)
#E6D0C7
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #dcd992; /* rgb */ color: rgb(220, 217, 146); /* oklch */ color: oklch(87.1% 0.091 106.1);
Tailwind
colors: {
custom: {
50: '#e8e4b2',
500: '#dcd992',
950: '#000000',
},
}SCSS
$custom: #dcd992; $custom-light: #e8e4b2; $custom-dark: #000000;
JSON
{
"hex": "#dcd992",
"rgb": {
"r": 220,
"g": 217,
"b": 146
},
"hsl": {
"h": 57.568,
"s": 51.389,
"l": 71.765
},
"oklch": {
"l": 0.87131,
"c": 0.09116,
"h": 106.1
},
"luminance": 0.66917
}Semantic roles & 50–950 ramp
primary
#DCD992
secondary
#5F62B4
accent
#2DBF27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481