#DCC866#DCC866
#DCC866 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 83.0% C 0.121 H 98.0°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #DCC866 |
|---|---|
| RGB | rgb(220, 200, 102) |
| HSL | hsl(50, 63%, 63%) |
| HSV | hsv(50, 54%, 86%) |
| CMYK | cmyk(0%, 9.1%, 53.6%, 13.7%) |
| CIE-LAB | lab(80.45, -5.31, 50.94) |
| CIE-LCH | lch(80.45, 51.21, 95.96°) |
| OKLab | oklab(82.97% -0.0168 0.1198) |
| OKLCH | oklch(82.97% 0.121 98) |
| XYZ | xyz(52.5696, 57.4856, 20.8945) |
| Luminance | 0.5748 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.69
Sandy
#F1DA7A
ΔE00 4.50
Light Mustard
#F7D560
ΔE00 5.54
Maize
#F4D054
ΔE00 5.65
Dull Yellow
#EEDC5B
ΔE00 5.85
Wheat (survey)
#FBDD7E
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCC866 #667ADC
analogous
#DC8D66 #DCC866 #B5DC66
triadic
#DCC866 #66DCC8 #C866DC
tetradic
#DCC866 #66DC8D #667ADC #DC66B5
square
#DCC866 #66DC8D #667ADC #DC66B5
split-complementary
#DCC866 #66B5DC #8D66DC
monochromatic
#A28D25 #D1B634 #DCC866 #E7DA98 #F3ECCA
Accessibility & contrast
On white
1.68
#DCC866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.50
#DCC866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCC866
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCC866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCC866 | 1.00 | 1.68 | 12.50 | 12.50 |
| #FFFFFF | 1.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C45D
Deuteranopia (green-blind)
#DECB6A
Tritanopia (blue-blind)
#EBBCB2
Achromatopsia (no color)
#C8C8C8
Design tokens & code
CSS
--color: #dcc866; /* rgb */ color: rgb(220, 200, 102); /* oklch */ color: oklch(83.0% 0.121 98.0);
Tailwind
colors: {
custom: {
50: '#e9d894',
500: '#dcc866',
950: '#000000',
},
}SCSS
$custom: #dcc866; $custom-light: #e9d894; $custom-dark: #000000;
JSON
{
"hex": "#dcc866",
"rgb": {
"r": 220,
"g": 200,
"b": 102
},
"hsl": {
"h": 49.831,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.82968,
"c": 0.12094,
"h": 98
},
"luminance": 0.57484
}Semantic roles & 50–950 ramp
primary
#DCC866
secondary
#4152A6
accent
#39CB1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F