#DCC166#DCC166
#DCC166 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.5% C 0.115 H 93.2°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #DCC166 |
|---|---|
| RGB | rgb(220, 193, 102) |
| HSL | hsl(46, 63%, 63%) |
| HSV | hsv(46, 54%, 86%) |
| CMYK | cmyk(0%, 12.3%, 53.6%, 13.7%) |
| CIE-LAB | lab(78.65, -1.70, 48.80) |
| CIE-LCH | lch(78.65, 48.83, 91.99°) |
| OKLab | oklab(81.54% -0.0064 0.1151) |
| OKLCH | oklch(81.54% 0.115 93.2) |
| XYZ | xyz(50.9854, 54.3172, 20.3665) |
| Luminance | 0.5432 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.55
Desert
#CCAD60
ΔE00 5.70
Tan (survey)
#D1B26F
ΔE00 5.80
Maize
#F4D054
ΔE00 5.93
Sandy
#F1DA7A
ΔE00 5.95
Light Mustard
#F7D560
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCC166 #6681DC
analogous
#DC8666 #DCC166 #BCDC66
triadic
#DCC166 #66DCC1 #C166DC
tetradic
#DCC166 #66DC86 #6681DC #DC66BC
square
#DCC166 #66DC86 #6681DC #DC66BC
split-complementary
#DCC166 #66BCDC #8666DC
monochromatic
#A28625 #D1AD34 #DCC166 #E7D598 #F3E9CA
Accessibility & contrast
On white
1.77
#DCC166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.86
#DCC166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCC166
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCC166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCC166 | 1.00 | 1.77 | 11.86 | 11.86 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BE5E
Deuteranopia (green-blind)
#D9C66A
Tritanopia (blue-blind)
#EBB5AC
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #dcc166; /* rgb */ color: rgb(220, 193, 102); /* oklch */ color: oklch(81.5% 0.115 93.2);
Tailwind
colors: {
custom: {
50: '#e9d394',
500: '#dcc166',
950: '#000000',
},
}SCSS
$custom: #dcc166; $custom-light: #e9d394; $custom-dark: #000000;
JSON
{
"hex": "#dcc166",
"rgb": {
"r": 220,
"g": 193,
"b": 102
},
"hsl": {
"h": 46.271,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.8154,
"c": 0.1153,
"h": 93.2
},
"luminance": 0.54315
}Semantic roles & 50–950 ramp
primary
#DCC166
secondary
#4158A6
accent
#43CB1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F