#DCD179#DCD179
#DCD179 is a very light, moderate yellow. Relative luminance 0.622; OKLCH L 85.1% C 0.110 H 102.2°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD179 |
|---|---|
| RGB | rgb(220, 209, 121) |
| HSL | hsl(53, 59%, 67%) |
| HSV | hsv(53, 45%, 86%) |
| CMYK | cmyk(0%, 5%, 45%, 13.7%) |
| CIE-LAB | lab(83.02, -8.22, 44.83) |
| CIE-LCH | lch(83.02, 45.58, 100.39°) |
| OKLab | oklab(85.08% -0.0232 0.1079) |
| OKLCH | oklch(85.08% 0.11 102.2) |
| XYZ | xyz(55.7682, 62.1987, 27.1533) |
| Luminance | 0.6220 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.01
Sandy
#F1DA7A
ΔE00 4.31
Khaki (CSS)
#F0E68C
ΔE00 4.75
Greenish Beige
#C9D179
ΔE00 5.19
Dull Yellow
#EEDC5B
ΔE00 6.20
Wheat (survey)
#FBDD7E
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD179 #7984DC
analogous
#DCA079 #DCD179 #B6DC79
triadic
#DCD179 #79DCD1 #D179DC
tetradic
#DCD179 #79DCA0 #7984DC #DC79B6
square
#DCD179 #79DCA0 #7984DC #DC79B6
split-complementary
#DCD179 #79B6DC #A079DC
monochromatic
#AD9F2D #CFC048 #DCD179 #E9E2AA #F5F2DA
Accessibility & contrast
On white
1.56
#DCD179 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.44
#DCD179 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD179
13.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD179 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD179 | 1.00 | 1.56 | 13.44 | 13.44 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFCC72
Deuteranopia (green-blind)
#E3D17D
Tritanopia (blue-blind)
#E9C6BC
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #dcd179; /* rgb */ color: rgb(220, 209, 121); /* oklch */ color: oklch(85.1% 0.110 102.2);
Tailwind
colors: {
custom: {
50: '#e8dea1',
500: '#dcd179',
950: '#000000',
},
}SCSS
$custom: #dcd179; $custom-light: #e8dea1; $custom-dark: #000000;
JSON
{
"hex": "#dcd179",
"rgb": {
"r": 220,
"g": 209,
"b": 121
},
"hsl": {
"h": 53.333,
"s": 58.58,
"l": 66.863
},
"oklch": {
"l": 0.85076,
"c": 0.11035,
"h": 102.2
},
"luminance": 0.62197
}Semantic roles & 50–950 ramp
primary
#DCD179
secondary
#4A55B0
accent
#32C61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480