#D5C166#D5C166
#D5C166 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.114 H 97.2°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #D5C166 |
|---|---|
| RGB | rgb(213, 193, 102) |
| HSL | hsl(49, 57%, 62%) |
| HSV | hsv(49, 52%, 84%) |
| CMYK | cmyk(0%, 9.4%, 52.1%, 16.5%) |
| CIE-LAB | lab(78.02, -4.59, 47.91) |
| CIE-LCH | lch(78.02, 48.13, 95.47°) |
| OKLab | oklab(80.9% -0.0143 0.1133) |
| OKLCH | oklch(80.9% 0.114 97.2) |
| XYZ | xyz(48.9105, 53.2473, 20.2692) |
| Luminance | 0.5324 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.03
Darkkhaki
#BDB76B
ΔE00 5.68
Sandy
#F1DA7A
ΔE00 6.17
Desert
#CCAD60
ΔE00 6.36
Tan (survey)
#D1B26F
ΔE00 6.62
Maize
#F4D054
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5C166 #667AD5
analogous
#D58A66 #D5C166 #B2D566
triadic
#D5C166 #66D5C1 #C166D5
tetradic
#D5C166 #66D58A #667AD5 #D566B2
square
#D5C166 #66D58A #667AD5 #D566B2
split-complementary
#D5C166 #66B2D5 #8A66D5
monochromatic
#978329 #C7AD37 #D5C166 #E2D496 #EFE8C6
Accessibility & contrast
On white
1.80
#D5C166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.65
#D5C166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5C166
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5C166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5C166 | 1.00 | 1.80 | 11.65 | 11.65 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BD5E
Deuteranopia (green-blind)
#D6C46A
Tritanopia (blue-blind)
#E3B5AC
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d5c166; /* rgb */ color: rgb(213, 193, 102); /* oklch */ color: oklch(80.9% 0.114 97.2);
Tailwind
colors: {
custom: {
50: '#e4d394',
500: '#d5c166',
950: '#000000',
},
}SCSS
$custom: #d5c166; $custom-light: #e4d394; $custom-dark: #000000;
JSON
{
"hex": "#d5c166",
"rgb": {
"r": 213,
"g": 193,
"b": 102
},
"hsl": {
"h": 49.189,
"s": 56.923,
"l": 61.765
},
"oklch": {
"l": 0.80897,
"c": 0.11418,
"h": 97.2
},
"luminance": 0.53245
}Semantic roles & 50–950 ramp
primary
#D5C166
secondary
#43539C
accent
#3EC421
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F