#D2C166#D2C166
#D2C166 is a light, moderate yellow. Relative luminance 0.528; OKLCH L 80.6% C 0.114 H 98.9°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C166 |
|---|---|
| RGB | rgb(210, 193, 102) |
| HSL | hsl(51, 55%, 61%) |
| HSV | hsv(51, 51%, 82%) |
| CMYK | cmyk(0%, 8.1%, 51.4%, 17.6%) |
| CIE-LAB | lab(77.76, -5.83, 47.53) |
| CIE-LCH | lch(77.76, 47.89, 96.99°) |
| OKLab | oklab(80.63% -0.0177 0.1125) |
| OKLCH | oklch(80.63% 0.114 98.9) |
| XYZ | xyz(48.0481, 52.8027, 20.2288) |
| Luminance | 0.5280 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.58
Darkkhaki
#BDB76B
ΔE00 5.02
Sandy
#F1DA7A
ΔE00 6.46
Desert
#CCAD60
ΔE00 6.80
Tan (survey)
#D1B26F
ΔE00 7.12
Greenish Beige
#C9D179
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C166 #6677D2
analogous
#D28B66 #D2C166 #ADD266
triadic
#D2C166 #66D2C1 #C166D2
tetradic
#D2C166 #66D28B #6677D2 #D266AD
square
#D2C166 #66D28B #6677D2 #D266AD
split-complementary
#D2C166 #66ADD2 #8B66D2
monochromatic
#93822B #C2AC39 #D2C166 #E0D495 #EEE7C5
Accessibility & contrast
On white
1.82
#D2C166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.56
#D2C166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C166
11.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C166 | 1.00 | 1.82 | 11.56 | 11.56 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BD5E
Deuteranopia (green-blind)
#D5C36A
Tritanopia (blue-blind)
#E0B6AC
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d2c166; /* rgb */ color: rgb(210, 193, 102); /* oklch */ color: oklch(80.6% 0.114 98.9);
Tailwind
colors: {
custom: {
50: '#e2d394',
500: '#d2c166',
950: '#000000',
},
}SCSS
$custom: #d2c166; $custom-light: #e2d394; $custom-dark: #000000;
JSON
{
"hex": "#d2c166",
"rgb": {
"r": 210,
"g": 193,
"b": 102
},
"hsl": {
"h": 50.556,
"s": 54.545,
"l": 61.176
},
"oklch": {
"l": 0.80627,
"c": 0.1139,
"h": 98.9
},
"luminance": 0.52801
}Semantic roles & 50–950 ramp
primary
#D2C166
secondary
#445198
accent
#3CC223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F