#DCD166#DCD166
#DCD166 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.8% C 0.129 H 103.4°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD166 |
|---|---|
| RGB | rgb(220, 209, 102) |
| HSL | hsl(54, 63%, 63%) |
| HSV | hsv(54, 54%, 86%) |
| CMYK | cmyk(0%, 5%, 53.6%, 13.7%) |
| CIE-LAB | lab(82.80, -9.90, 53.67) |
| CIE-LCH | lch(82.80, 54.58, 100.45°) |
| OKLab | oklab(84.83% -0.03 0.1257) |
| OKLCH | oklch(84.83% 0.129 103.4) |
| XYZ | xyz(54.7156, 61.7777, 21.6099) |
| Luminance | 0.6178 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 4.19
Sandy
#F1DA7A
ΔE00 4.56
Sand (survey)
#E2CA76
ΔE00 5.19
Khaki (CSS)
#F0E68C
ΔE00 5.58
Greenish Beige
#C9D179
ΔE00 6.09
Sand Yellow
#FCE166
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD166 #6671DC
analogous
#DC9666 #DCD166 #ACDC66
triadic
#DCD166 #66DCD1 #D166DC
tetradic
#DCD166 #66DC96 #6671DC #DC66AC
square
#DCD166 #66DC96 #6671DC #DC66AC
split-complementary
#DCD166 #66ACDC #9666DC
monochromatic
#A29725 #D1C234 #DCD166 #E7E098 #F3EFCA
Accessibility & contrast
On white
1.57
#DCD166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.36
#DCD166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD166
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD166 | 1.00 | 1.57 | 13.36 | 13.36 |
| #FFFFFF | 1.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1CB5C
Deuteranopia (green-blind)
#E5D16B
Tritanopia (blue-blind)
#EAC5B9
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #dcd166; /* rgb */ color: rgb(220, 209, 102); /* oklch */ color: oklch(84.8% 0.129 103.4);
Tailwind
colors: {
custom: {
50: '#e9de95',
500: '#dcd166',
950: '#000000',
},
}SCSS
$custom: #dcd166; $custom-light: #e9de95; $custom-dark: #000000;
JSON
{
"hex": "#dcd166",
"rgb": {
"r": 220,
"g": 209,
"b": 102
},
"hsl": {
"h": 54.407,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.84826,
"c": 0.12924,
"h": 103.4
},
"luminance": 0.61776
}Semantic roles & 50–950 ramp
primary
#DCD166
secondary
#414AA6
accent
#2BCB1B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F