#D4C166#D4C166
#D4C166 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.114 H 97.8°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #D4C166 |
|---|---|
| RGB | rgb(212, 193, 102) |
| HSL | hsl(50, 56%, 62%) |
| HSV | hsv(50, 52%, 83%) |
| CMYK | cmyk(0%, 9%, 51.9%, 16.9%) |
| CIE-LAB | lab(77.93, -5.00, 47.78) |
| CIE-LCH | lch(77.93, 48.04, 95.97°) |
| OKLab | oklab(80.81% -0.0154 0.113) |
| OKLCH | oklch(80.81% 0.114 97.8) |
| XYZ | xyz(48.6212, 53.0982, 20.2557) |
| Luminance | 0.5310 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.20
Darkkhaki
#BDB76B
ΔE00 5.45
Sandy
#F1DA7A
ΔE00 6.25
Desert
#CCAD60
ΔE00 6.50
Tan (survey)
#D1B26F
ΔE00 6.78
Maize
#F4D054
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4C166 #6679D4
analogous
#D48A66 #D4C166 #B0D466
triadic
#D4C166 #66D4C1 #C166D4
tetradic
#D4C166 #66D48A #6679D4 #D466B0
square
#D4C166 #66D48A #6679D4 #D466B0
split-complementary
#D4C166 #66B0D4 #8A66D4
monochromatic
#96832A #C5AD37 #D4C166 #E1D496 #EFE8C6
Accessibility & contrast
On white
1.81
#D4C166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.62
#D4C166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4C166
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4C166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4C166 | 1.00 | 1.81 | 11.62 | 11.62 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BD5E
Deuteranopia (green-blind)
#D6C46A
Tritanopia (blue-blind)
#E2B5AC
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d4c166; /* rgb */ color: rgb(212, 193, 102); /* oklch */ color: oklch(80.8% 0.114 97.8);
Tailwind
colors: {
custom: {
50: '#e3d394',
500: '#d4c166',
950: '#000000',
},
}SCSS
$custom: #d4c166; $custom-light: #e3d394; $custom-dark: #000000;
JSON
{
"hex": "#d4c166",
"rgb": {
"r": 212,
"g": 193,
"b": 102
},
"hsl": {
"h": 49.636,
"s": 56.122,
"l": 61.569
},
"oklch": {
"l": 0.80807,
"c": 0.11407,
"h": 97.8
},
"luminance": 0.53096
}Semantic roles & 50–950 ramp
primary
#D4C166
secondary
#43539B
accent
#3EC422
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F