#D2C666#D2C666
#D2C666 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.119 H 102.2°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C666 |
|---|---|
| RGB | rgb(210, 198, 102) |
| HSL | hsl(53, 55%, 61%) |
| HSV | hsv(53, 51%, 82%) |
| CMYK | cmyk(0%, 5.7%, 51.4%, 17.6%) |
| CIE-LAB | lab(79.07, -8.40, 49.09) |
| CIE-LCH | lch(79.07, 49.81, 99.71°) |
| OKLab | oklab(81.67% -0.0251 0.1159) |
| OKLCH | oklch(81.67% 0.119 102.2) |
| XYZ | xyz(49.1722, 55.0508, 20.6035) |
| Luminance | 0.5505 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.36
Darkkhaki
#BDB76B
ΔE00 5.39
Greenish Beige
#C9D179
ΔE00 6.01
Sandy
#F1DA7A
ΔE00 6.06
Dull Yellow
#EEDC5B
ΔE00 6.82
Vomit Yellow
#C7C10C
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C666 #6672D2
analogous
#D29066 #D2C666 #A8D266
triadic
#D2C666 #66D2C6 #C666D2
tetradic
#D2C666 #66D290 #6672D2 #D266A8
square
#D2C666 #66D290 #6672D2 #D266A8
split-complementary
#D2C666 #66A8D2 #9066D2
monochromatic
#93872B #C2B339 #D2C666 #E0D895 #EEE9C5
Accessibility & contrast
On white
1.75
#D2C666 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.01
#D2C666 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C666
12.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C666 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C666 | 1.00 | 1.75 | 12.01 | 12.01 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C15D
Deuteranopia (green-blind)
#D9C66A
Tritanopia (blue-blind)
#E0BBB0
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d2c666; /* rgb */ color: rgb(210, 198, 102); /* oklch */ color: oklch(81.7% 0.119 102.2);
Tailwind
colors: {
custom: {
50: '#e2d794',
500: '#d2c666',
950: '#000000',
},
}SCSS
$custom: #d2c666; $custom-light: #e2d794; $custom-dark: #000000;
JSON
{
"hex": "#d2c666",
"rgb": {
"r": 210,
"g": 198,
"b": 102
},
"hsl": {
"h": 53.333,
"s": 54.545,
"l": 61.176
},
"oklch": {
"l": 0.81667,
"c": 0.11861,
"h": 102.2
},
"luminance": 0.55049
}Semantic roles & 50–950 ramp
primary
#D2C666
secondary
#444D98
accent
#35C223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F