#DCD79C#DCD79C
#DCD79C is a very light, moderate yellow. Relative luminance 0.662; OKLCH L 86.9% C 0.077 H 103.8°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD79C |
|---|---|
| RGB | rgb(220, 215, 156) |
| HSL | hsl(55, 48%, 74%) |
| HSV | hsv(55, 29%, 86%) |
| CMYK | cmyk(0%, 2.3%, 29.1%, 13.7%) |
| CIE-LAB | lab(85.11, -7.33, 29.81) |
| CIE-LCH | lch(85.11, 30.70, 103.81°) |
| OKLab | oklab(86.9% -0.0183 0.0747) |
| OKLCH | oklch(86.9% 0.077 103.8) |
| XYZ | xyz(59.8167, 66.2180, 41.0763) |
| Luminance | 0.6622 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 3.03
Palegoldenrod
#EEE8AA
ΔE00 3.88
Vanilla
#F3E5AB
ΔE00 4.55
Light Tan
#FBEEAC
ΔE00 5.98
Khaki (CSS)
#F0E68C
ΔE00 6.60
Greenish Beige
#C9D179
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD79C #9CA1DC
analogous
#DCB79C #DCD79C #C1DC9C
triadic
#DCD79C #9CDCD7 #D79CDC
tetradic
#DCD79C #9CDCB7 #9CA1DC #DC9CC1
square
#DCD79C #9CDCB7 #9CA1DC #DC9CC1
split-complementary
#DCD79C #9CC1DC #B79CDC
monochromatic
#BBB242 #CCC56F #DCD79C #ECE9C9 #F7F6E8
Accessibility & contrast
On white
1.47
#DCD79C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.24
#DCD79C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD79C
14.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD79C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD79C | 1.00 | 1.47 | 14.24 | 14.24 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1D398
Deuteranopia (green-blind)
#E3D69E
Tritanopia (blue-blind)
#E5CFC7
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #dcd79c; /* rgb */ color: rgb(220, 215, 156); /* oklch */ color: oklch(86.9% 0.077 103.8);
Tailwind
colors: {
custom: {
50: '#e7e3b9',
500: '#dcd79c',
950: '#000000',
},
}SCSS
$custom: #dcd79c; $custom-light: #e7e3b9; $custom-dark: #000000;
JSON
{
"hex": "#dcd79c",
"rgb": {
"r": 220,
"g": 215,
"b": 156
},
"hsl": {
"h": 55.312,
"s": 47.761,
"l": 73.725
},
"oklch": {
"l": 0.86904,
"c": 0.07691,
"h": 103.8
},
"luminance": 0.66217
}Semantic roles & 50–950 ramp
primary
#DCD79C
secondary
#686EB4
accent
#36BB2A
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481