#DEC166#DEC166
#DEC166 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.7% C 0.116 H 92.0°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #DEC166 |
|---|---|
| RGB | rgb(222, 193, 102) |
| HSL | hsl(46, 65%, 64%) |
| HSV | hsv(46, 54%, 87%) |
| CMYK | cmyk(0%, 13.1%, 54.1%, 12.9%) |
| CIE-LAB | lab(78.83, -0.87, 49.06) |
| CIE-LCH | lch(78.83, 49.07, 91.02°) |
| OKLab | oklab(81.73% -0.0041 0.1157) |
| OKLCH | oklch(81.73% 0.116 92) |
| XYZ | xyz(51.5945, 54.6313, 20.3950) |
| Luminance | 0.5463 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.69
Desert
#CCAD60
ΔE00 5.64
Tan (survey)
#D1B26F
ΔE00 5.67
Maize
#F4D054
ΔE00 5.73
Light Mustard
#F7D560
ΔE00 5.96
Sandy
#F1DA7A
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEC166 #6683DE
analogous
#DE8566 #DEC166 #BFDE66
triadic
#DEC166 #66DEC1 #C166DE
tetradic
#DEC166 #66DE85 #6683DE #DE66BF
square
#DEC166 #66DE85 #6683DE #DE66BF
split-complementary
#DEC166 #66BFDE #8566DE
monochromatic
#A68624 #D3AD34 #DEC166 #E9D598 #F4EACB
Accessibility & contrast
On white
1.76
#DEC166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.93
#DEC166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEC166
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEC166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEC166 | 1.00 | 1.76 | 11.93 | 11.93 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BE5E
Deuteranopia (green-blind)
#D9C76A
Tritanopia (blue-blind)
#EEB4AC
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #dec166; /* rgb */ color: rgb(222, 193, 102); /* oklch */ color: oklch(81.7% 0.116 92.0);
Tailwind
colors: {
custom: {
50: '#ebd394',
500: '#dec166',
950: '#000000',
},
}SCSS
$custom: #dec166; $custom-light: #ebd394; $custom-dark: #000000;
JSON
{
"hex": "#dec166",
"rgb": {
"r": 222,
"g": 193,
"b": 102
},
"hsl": {
"h": 45.5,
"s": 64.516,
"l": 63.529
},
"oklch": {
"l": 0.81726,
"c": 0.11572,
"h": 92
},
"luminance": 0.54629
}Semantic roles & 50–950 ramp
primary
#DEC166
secondary
#4059A9
accent
#44CC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F