#DCD866#DCD866
#DCD866 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.3% C 0.136 H 107.1°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD866 |
|---|---|
| RGB | rgb(220, 216, 102) |
| HSL | hsl(58, 63%, 63%) |
| HSV | hsv(58, 54%, 86%) |
| CMYK | cmyk(0%, 1.8%, 53.6%, 13.7%) |
| CIE-LAB | lab(84.63, -13.42, 55.80) |
| CIE-LCH | lch(84.63, 57.39, 103.52°) |
| OKLab | oklab(86.29% -0.0401 0.1303) |
| OKLCH | oklch(86.29% 0.136 107.1) |
| XYZ | xyz(56.4709, 65.2883, 22.1950) |
| Luminance | 0.6529 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 4.33
Khaki (CSS)
#F0E68C
ΔE00 5.19
Greenish Beige
#C9D179
ΔE00 5.56
Sandy
#F1DA7A
ΔE00 5.80
Yellowish
#FAEE66
ΔE00 6.03
Sandy Yellow
#FDEE73
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD866 #666ADC
analogous
#DC9D66 #DCD866 #A5DC66
triadic
#DCD866 #66DCD8 #D866DC
tetradic
#DCD866 #66DC9D #666ADC #DC66A5
square
#DCD866 #66DC9D #666ADC #DC66A5
split-complementary
#DCD866 #66A5DC #9D66DC
monochromatic
#A29E25 #D1CB34 #DCD866 #E7E598 #F3F1CA
Accessibility & contrast
On white
1.49
#DCD866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.06
#DCD866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD866
14.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD866 | 1.00 | 1.49 | 14.06 | 14.06 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D15B
Deuteranopia (green-blind)
#EAD56C
Tritanopia (blue-blind)
#EACCBF
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #dcd866; /* rgb */ color: rgb(220, 216, 102); /* oklch */ color: oklch(86.3% 0.136 107.1);
Tailwind
colors: {
custom: {
50: '#e9e395',
500: '#dcd866',
950: '#000000',
},
}SCSS
$custom: #dcd866; $custom-light: #e9e395; $custom-dark: #000000;
JSON
{
"hex": "#dcd866",
"rgb": {
"r": 220,
"g": 216,
"b": 102
},
"hsl": {
"h": 57.966,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.86287,
"c": 0.13631,
"h": 107.1
},
"luminance": 0.65287
}Semantic roles & 50–950 ramp
primary
#DCD866
secondary
#4144A6
accent
#21CB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150D
muted
#85847F