#DCD99F#DCD99F
#DCD99F is a very light, moderate yellow. Relative luminance 0.673; OKLCH L 87.4% C 0.076 H 105.4°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD99F |
|---|---|
| RGB | rgb(220, 217, 159) |
| HSL | hsl(57, 47%, 74%) |
| HSV | hsv(57, 28%, 86%) |
| CMYK | cmyk(0%, 1.4%, 27.7%, 13.7%) |
| CIE-LAB | lab(85.68, -7.96, 29.03) |
| CIE-LCH | lch(85.68, 30.10, 105.33°) |
| OKLab | oklab(87.37% -0.02 0.0729) |
| OKLCH | oklch(87.37% 0.076 105.4) |
| XYZ | xyz(60.5863, 67.3456, 42.6015) |
| Luminance | 0.6734 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 3.32
Palegoldenrod
#EEE8AA
ΔE00 3.64
Vanilla
#F3E5AB
ΔE00 4.67
Light Tan
#FBEEAC
ΔE00 5.97
Greenish Beige
#C9D179
ΔE00 6.71
Khaki (CSS)
#F0E68C
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD99F #9FA2DC
analogous
#DCBB9F #DCD99F #C1DC9F
triadic
#DCD99F #9FDCD9 #D99FDC
tetradic
#DCD99F #9FDCBB #9FA2DC #DC9FC1
square
#DCD99F #9FDCBB #9FA2DC #DC9FC1
split-complementary
#DCD99F #9FC1DC #BB9FDC
monochromatic
#BBB545 #CCC772 #DCD99F #ECEBCC #F7F6E9
Accessibility & contrast
On white
1.45
#DCD99F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.47
#DCD99F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD99F
14.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD99F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD99F | 1.00 | 1.45 | 14.47 | 14.47 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3D59B
Deuteranopia (green-blind)
#E5D8A1
Tritanopia (blue-blind)
#E5D1CA
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #dcd99f; /* rgb */ color: rgb(220, 217, 159); /* oklch */ color: oklch(87.4% 0.076 105.4);
Tailwind
colors: {
custom: {
50: '#e7e4bb',
500: '#dcd99f',
950: '#000000',
},
}SCSS
$custom: #dcd99f; $custom-light: #e7e4bb; $custom-dark: #000000;
JSON
{
"hex": "#dcd99f",
"rgb": {
"r": 220,
"g": 217,
"b": 159
},
"hsl": {
"h": 57.049,
"s": 46.565,
"l": 74.314
},
"oklch": {
"l": 0.87373,
"c": 0.07559,
"h": 105.4
},
"luminance": 0.67345
}Semantic roles & 50–950 ramp
primary
#DCD99F
secondary
#6B6FB4
accent
#33BA2C
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161512
muted
#848482