#DCD86C#DCD86C
#DCD86C is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.4% C 0.131 H 106.9°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD86C |
|---|---|
| RGB | rgb(220, 216, 108) |
| HSL | hsl(58, 62%, 64%) |
| HSV | hsv(58, 51%, 86%) |
| CMYK | cmyk(0%, 1.8%, 50.9%, 13.7%) |
| CIE-LAB | lab(84.70, -12.93, 53.10) |
| CIE-LCH | lch(84.70, 54.66, 103.68°) |
| OKLab | oklab(86.36% -0.038 0.1251) |
| OKLCH | oklch(86.36% 0.131 106.9) |
| XYZ | xyz(56.7793, 65.4116, 23.8192) |
| Luminance | 0.6541 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 4.69
Dull Yellow
#EEDC5B
ΔE00 4.74
Greenish Beige
#C9D179
ΔE00 5.01
Sandy
#F1DA7A
ΔE00 5.55
Sandy Yellow
#FDEE73
ΔE00 6.21
Yellowish
#FAEE66
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD86C #6C70DC
analogous
#DCA06C #DCD86C #A8DC6C
triadic
#DCD86C #6CDCD8 #D86CDC
tetradic
#DCD86C #6CDCA0 #6C70DC #DC6CA8
square
#DCD86C #6CDCA0 #6C70DC #DC6CA8
split-complementary
#DCD86C #6CA8DC #A06CDC
monochromatic
#A6A228 #D0CB3B #DCD86C #E8E59D #F4F2CF
Accessibility & contrast
On white
1.49
#DCD86C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.08
#DCD86C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD86C
14.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD86C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD86C | 1.00 | 1.49 | 14.08 | 14.08 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D162
Deuteranopia (green-blind)
#EAD671
Tritanopia (blue-blind)
#EACCBF
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #dcd86c; /* rgb */ color: rgb(220, 216, 108); /* oklch */ color: oklch(86.4% 0.131 106.9);
Tailwind
colors: {
custom: {
50: '#e9e399',
500: '#dcd86c',
950: '#000000',
},
}SCSS
$custom: #dcd86c; $custom-light: #e9e399; $custom-dark: #000000;
JSON
{
"hex": "#dcd86c",
"rgb": {
"r": 220,
"g": 216,
"b": 108
},
"hsl": {
"h": 57.857,
"s": 61.538,
"l": 64.314
},
"oklch": {
"l": 0.86358,
"c": 0.13071,
"h": 106.9
},
"luminance": 0.6541
}Semantic roles & 50–950 ramp
primary
#DCD86C
secondary
#4347A9
accent
#22C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F