#DCD996#DCD996
#DCD996 is a very light, moderate yellow. Relative luminance 0.670; OKLCH L 87.2% C 0.086 H 105.9°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD996 |
|---|---|
| RGB | rgb(220, 217, 150) |
| HSL | hsl(57, 50%, 73%) |
| HSV | hsv(57, 32%, 86%) |
| CMYK | cmyk(0%, 1.4%, 31.8%, 13.7%) |
| CIE-LAB | lab(85.53, -9.09, 33.45) |
| CIE-LCH | lch(85.53, 34.67, 105.21°) |
| OKLab | oklab(87.2% -0.0237 0.0831) |
| OKLCH | oklch(87.2% 0.086 105.9) |
| XYZ | xyz(59.8335, 67.0445, 38.6372) |
| Luminance | 0.6704 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Palegoldenrod
#EEE8AA
ΔE00 3.83
Beige (survey)
#E6DAA6
ΔE00 4.40
Vanilla
#F3E5AB
ΔE00 5.11
Greenish Beige
#C9D179
ΔE00 5.25
Khaki (CSS)
#F0E68C
ΔE00 5.36
Light Tan
#FBEEAC
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD996 #9699DC
analogous
#DCB696 #DCD996 #BCDC96
triadic
#DCD996 #96DCD9 #D996DC
tetradic
#DCD996 #96DCB6 #9699DC #DC96BC
square
#DCD996 #96DCB6 #9699DC #DC96BC
split-complementary
#DCD996 #96BCDC #B696DC
monochromatic
#BAB43E #CDC868 #DCD996 #EBEAC4 #F7F7E8
Accessibility & contrast
On white
1.46
#DCD996 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.41
#DCD996 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD996
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD996 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD996 | 1.00 | 1.46 | 14.41 | 14.41 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4D491
Deuteranopia (green-blind)
#E6D799
Tritanopia (blue-blind)
#E6D1C8
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #dcd996; /* rgb */ color: rgb(220, 217, 150); /* oklch */ color: oklch(87.2% 0.086 105.9);
Tailwind
colors: {
custom: {
50: '#e7e4b5',
500: '#dcd996',
950: '#000000',
},
}SCSS
$custom: #dcd996; $custom-light: #e7e4b5; $custom-dark: #000000;
JSON
{
"hex": "#dcd996",
"rgb": {
"r": 220,
"g": 217,
"b": 150
},
"hsl": {
"h": 57.429,
"s": 50,
"l": 72.549
},
"oklch": {
"l": 0.87203,
"c": 0.08644,
"h": 105.9
},
"luminance": 0.67043
}Semantic roles & 50–950 ramp
primary
#DCD996
secondary
#6366B4
accent
#2FBD28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481