#DCC666#DCC666
#DCC666 is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.6% C 0.119 H 96.7°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).
Color values
| HEX | #DCC666 |
|---|---|
| RGB | rgb(220, 198, 102) |
| HSL | hsl(49, 63%, 63%) |
| HSV | hsv(49, 54%, 86%) |
| CMYK | cmyk(0%, 10%, 53.6%, 13.7%) |
| CIE-LAB | lab(79.93, -4.29, 50.33) |
| CIE-LCH | lch(79.93, 50.51, 94.87°) |
| OKLab | oklab(82.56% -0.0139 0.1184) |
| OKLCH | oklch(82.56% 0.119 96.7) |
| XYZ | xyz(52.1094, 56.5653, 20.7412) |
| Luminance | 0.5656 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.36
Sandy
#F1DA7A
ΔE00 4.80
Light Mustard
#F7D560
ΔE00 5.58
Maize
#F4D054
ΔE00 5.59
Wheat (survey)
#FBDD7E
ΔE00 6.17
Dull Yellow
#EEDC5B
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCC666 #667CDC
analogous
#DC8B66 #DCC666 #B7DC66
triadic
#DCC666 #66DCC6 #C666DC
tetradic
#DCC666 #66DC8B #667CDC #DC66B7
square
#DCC666 #66DC8B #667CDC #DC66B7
split-complementary
#DCC666 #66B7DC #8B66DC
monochromatic
#A28B25 #D1B334 #DCC666 #E7D998 #F3EBCA
Accessibility & contrast
On white
1.71
#DCC666 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.31
#DCC666 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCC666
12.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCC666 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCC666 | 1.00 | 1.71 | 12.31 | 12.31 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C25D
Deuteranopia (green-blind)
#DCC96A
Tritanopia (blue-blind)
#EBBAB0
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #dcc666; /* rgb */ color: rgb(220, 198, 102); /* oklch */ color: oklch(82.6% 0.119 96.7);
Tailwind
colors: {
custom: {
50: '#e9d794',
500: '#dcc666',
950: '#000000',
},
}SCSS
$custom: #dcc666; $custom-light: #e9d794; $custom-dark: #000000;
JSON
{
"hex": "#dcc666",
"rgb": {
"r": 220,
"g": 198,
"b": 102
},
"hsl": {
"h": 48.814,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.82558,
"c": 0.11925,
"h": 96.7
},
"luminance": 0.56563
}Semantic roles & 50–950 ramp
primary
#DCC666
secondary
#4153A6
accent
#3CCB1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F