#DCC966#DCC966
#DCC966 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 83.2% C 0.122 H 98.6°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).
Color values
| HEX | #DCC966 |
|---|---|
| RGB | rgb(220, 201, 102) |
| HSL | hsl(50, 63%, 63%) |
| HSV | hsv(50, 54%, 86%) |
| CMYK | cmyk(0%, 8.6%, 53.6%, 13.7%) |
| CIE-LAB | lab(80.71, -5.83, 51.24) |
| CIE-LCH | lch(80.71, 51.57, 96.49°) |
| OKLab | oklab(83.17% -0.0183 0.1204) |
| OKLCH | oklch(83.17% 0.122 98.6) |
| XYZ | xyz(52.8019, 57.9503, 20.9720) |
| Luminance | 0.5795 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.91
Sandy
#F1DA7A
ΔE00 4.39
Light Mustard
#F7D560
ΔE00 5.57
Dull Yellow
#EEDC5B
ΔE00 5.58
Maize
#F4D054
ΔE00 5.72
Wheat (survey)
#FBDD7E
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCC966 #6679DC
analogous
#DC8E66 #DCC966 #B4DC66
triadic
#DCC966 #66DCC9 #C966DC
tetradic
#DCC966 #66DC8E #6679DC #DC66B4
square
#DCC966 #66DC8E #6679DC #DC66B4
split-complementary
#DCC966 #66B4DC #8E66DC
monochromatic
#A28E25 #D1B734 #DCC966 #E7DB98 #F3ECCA
Accessibility & contrast
On white
1.67
#DCC966 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.59
#DCC966 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCC966
12.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCC966 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCC966 | 1.00 | 1.67 | 12.59 | 12.59 |
| #FFFFFF | 1.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C45D
Deuteranopia (green-blind)
#DFCB6A
Tritanopia (blue-blind)
#EBBDB2
Achromatopsia (no color)
#C8C8C8
Design tokens & code
CSS
--color: #dcc966; /* rgb */ color: rgb(220, 201, 102); /* oklch */ color: oklch(83.2% 0.122 98.6);
Tailwind
colors: {
custom: {
50: '#e9d994',
500: '#dcc966',
950: '#000000',
},
}SCSS
$custom: #dcc966; $custom-light: #e9d994; $custom-dark: #000000;
JSON
{
"hex": "#dcc966",
"rgb": {
"r": 220,
"g": 201,
"b": 102
},
"hsl": {
"h": 50.339,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.83173,
"c": 0.12182,
"h": 98.6
},
"luminance": 0.57948
}Semantic roles & 50–950 ramp
primary
#DCC966
secondary
#4151A6
accent
#37CB1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F