#D2C366#D2C366
#D2C366 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.116 H 100.3°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C366 |
|---|---|
| RGB | rgb(210, 195, 102) |
| HSL | hsl(52, 55%, 61%) |
| HSV | hsv(52, 51%, 82%) |
| CMYK | cmyk(0%, 7.1%, 51.4%, 17.6%) |
| CIE-LAB | lab(78.28, -6.86, 48.16) |
| CIE-LCH | lch(78.28, 48.64, 98.11°) |
| OKLab | oklab(81.04% -0.0207 0.1139) |
| OKLCH | oklch(81.04% 0.116 100.3) |
| XYZ | xyz(48.4932, 53.6929, 20.3772) |
| Luminance | 0.5369 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.81
Darkkhaki
#BDB76B
ΔE00 5.09
Sandy
#F1DA7A
ΔE00 6.24
Greenish Beige
#C9D179
ΔE00 6.90
Dull Yellow
#EEDC5B
ΔE00 7.39
Desert
#CCAD60
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C366 #6675D2
analogous
#D28D66 #D2C366 #ABD266
triadic
#D2C366 #66D2C3 #C366D2
tetradic
#D2C366 #66D28D #6675D2 #D266AB
square
#D2C366 #66D28D #6675D2 #D266AB
split-complementary
#D2C366 #66ABD2 #8D66D2
monochromatic
#93842B #C2AF39 #D2C366 #E0D695 #EEE8C5
Accessibility & contrast
On white
1.79
#D2C366 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.74
#D2C366 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C366
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C366 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C366 | 1.00 | 1.79 | 11.74 | 11.74 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BE5E
Deuteranopia (green-blind)
#D7C46A
Tritanopia (blue-blind)
#E0B8AE
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d2c366; /* rgb */ color: rgb(210, 195, 102); /* oklch */ color: oklch(81.0% 0.116 100.3);
Tailwind
colors: {
custom: {
50: '#e2d494',
500: '#d2c366',
950: '#000000',
},
}SCSS
$custom: #d2c366; $custom-light: #e2d494; $custom-dark: #000000;
JSON
{
"hex": "#d2c366",
"rgb": {
"r": 210,
"g": 195,
"b": 102
},
"hsl": {
"h": 51.667,
"s": 54.545,
"l": 61.176
},
"oklch": {
"l": 0.81042,
"c": 0.11573,
"h": 100.3
},
"luminance": 0.53691
}Semantic roles & 50–950 ramp
primary
#D2C366
secondary
#445098
accent
#39C223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F