#DCD196#DCD196
#DCD196 is a very light, moderate yellow. Relative luminance 0.630; OKLCH L 85.6% C 0.078 H 98.9°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD196 |
|---|---|
| RGB | rgb(220, 209, 150) |
| HSL | hsl(51, 50%, 73%) |
| HSV | hsv(51, 32%, 86%) |
| CMYK | cmyk(0%, 5%, 31.8%, 13.7%) |
| CIE-LAB | lab(83.45, -5.01, 30.70) |
| CIE-LCH | lch(83.45, 31.11, 99.28°) |
| OKLab | oklab(85.56% -0.0119 0.0767) |
| OKLCH | oklch(85.56% 0.078 98.9) |
| XYZ | xyz(57.8213, 63.0200, 37.9664) |
| Luminance | 0.6302 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 2.81
Vanilla
#F3E5AB
ΔE00 4.82
Palegoldenrod
#EEE8AA
ΔE00 5.24
Sand (survey)
#E2CA76
ΔE00 5.96
Light Tan
#FBEEAC
ΔE00 6.63
Khaki (CSS)
#F0E68C
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD196 #96A1DC
analogous
#DCAE96 #DCD196 #C4DC96
triadic
#DCD196 #96DCD1 #D196DC
tetradic
#DCD196 #96DCAE #96A1DC #DC96C4
square
#DCD196 #96DCAE #96A1DC #DC96C4
split-complementary
#DCD196 #96C4DC #AE96DC
monochromatic
#BAA63E #CDBD68 #DCD196 #EBE5C4 #F7F5E8
Accessibility & contrast
On white
1.54
#DCD196 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.60
#DCD196 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD196
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD196 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD196 | 1.00 | 1.54 | 13.60 | 13.60 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCCD92
Deuteranopia (green-blind)
#E0D298
Tritanopia (blue-blind)
#E6C9C2
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #dcd196; /* rgb */ color: rgb(220, 209, 150); /* oklch */ color: oklch(85.6% 0.078 98.9);
Tailwind
colors: {
custom: {
50: '#e7dfb5',
500: '#dcd196',
950: '#000000',
},
}SCSS
$custom: #dcd196; $custom-light: #e7dfb5; $custom-dark: #000000;
JSON
{
"hex": "#dcd196",
"rgb": {
"r": 220,
"g": 209,
"b": 150
},
"hsl": {
"h": 50.571,
"s": 50,
"l": 72.549
},
"oklch": {
"l": 0.85561,
"c": 0.07758,
"h": 98.9
},
"luminance": 0.63019
}Semantic roles & 50–950 ramp
primary
#DCD196
secondary
#636FB4
accent
#40BD28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481