#D9C66A#D9C66A
#D9C66A is a very light, moderate yellow. Relative luminance 0.562; OKLCH L 82.3% C 0.115 H 97.9°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C66A |
|---|---|
| RGB | rgb(217, 198, 106) |
| HSL | hsl(50, 59%, 63%) |
| HSV | hsv(50, 51%, 85%) |
| CMYK | cmyk(0%, 8.8%, 51.2%, 14.9%) |
| CIE-LAB | lab(79.72, -5.18, 48.08) |
| CIE-LCH | lch(79.72, 48.36, 96.15°) |
| OKLab | oklab(82.34% -0.0158 0.114) |
| OKLCH | oklch(82.34% 0.115 97.9) |
| XYZ | xyz(51.4125, 56.1825, 21.7690) |
| Luminance | 0.5618 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.42
Sandy
#F1DA7A
ΔE00 5.02
Darkkhaki
#BDB76B
ΔE00 6.28
Light Mustard
#F7D560
ΔE00 6.38
Maize
#F4D054
ΔE00 6.51
Wheat (survey)
#FBDD7E
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C66A #6A7DD9
analogous
#D98E6A #D9C66A #B4D96A
triadic
#D9C66A #6AD9C6 #C66AD9
tetradic
#D9C66A #6AD98E #6A7DD9 #D96AB4
square
#D9C66A #6AD98E #6A7DD9 #D96AB4
split-complementary
#D9C66A #6AB4D9 #8E6AD9
monochromatic
#A08B29 #CDB339 #D9C66A #E5D99B #F2EBCC
Accessibility & contrast
On white
1.72
#D9C66A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.24
#D9C66A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C66A
12.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C66A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C66A | 1.00 | 1.72 | 12.24 | 12.24 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C262
Deuteranopia (green-blind)
#DBC96E
Tritanopia (blue-blind)
#E7BAB1
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #d9c66a; /* rgb */ color: rgb(217, 198, 106); /* oklch */ color: oklch(82.3% 0.115 97.9);
Tailwind
colors: {
custom: {
50: '#e7d797',
500: '#d9c66a',
950: '#000000',
},
}SCSS
$custom: #d9c66a; $custom-light: #e7d797; $custom-dark: #000000;
JSON
{
"hex": "#d9c66a",
"rgb": {
"r": 217,
"g": 198,
"b": 106
},
"hsl": {
"h": 49.73,
"s": 59.358,
"l": 63.333
},
"oklch": {
"l": 0.82339,
"c": 0.11506,
"h": 97.9
},
"luminance": 0.5618
}Semantic roles & 50–950 ramp
primary
#D9C66A
secondary
#4454A4
accent
#3BC71E
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F