#D2C187#D2C187
#D2C187 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.1% C 0.078 H 93.7°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C187 |
|---|---|
| RGB | rgb(210, 193, 135) |
| HSL | hsl(46, 45%, 68%) |
| HSV | hsv(46, 36%, 82%) |
| CMYK | cmyk(0%, 8.1%, 35.7%, 17.6%) |
| CIE-LAB | lab(78.22, -2.45, 31.41) |
| CIE-LCH | lch(78.22, 31.51, 94.46°) |
| OKLab | oklab(81.15% -0.005 0.078) |
| OKLCH | oklch(81.15% 0.078 93.7) |
| XYZ | xyz(50.0223, 53.5924, 30.6263) |
| Luminance | 0.5359 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.27
Very Light Brown
#D3B683
ΔE00 5.15
Sand (survey)
#E2CA76
ΔE00 5.50
Tan (survey)
#D1B26F
ΔE00 5.59
Sandstone
#C9AE74
ΔE00 5.61
Darkkhaki
#BDB76B
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C187 #8798D2
analogous
#D29B87 #D2C187 #BED287
triadic
#D2C187 #87D2C1 #C187D2
tetradic
#D2C187 #87D29B #8798D2 #D287BE
square
#D2C187 #87D29B #8798D2 #D287BE
split-complementary
#D2C187 #87BED2 #9B87D2
monochromatic
#A28B3D #C1AA5A #D2C187 #E3D8B4 #F3EFE0
Accessibility & contrast
On white
1.79
#D2C187 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.72
#D2C187 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C187
11.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C187 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C187 | 1.00 | 1.79 | 11.72 | 11.72 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBE83
Deuteranopia (green-blind)
#D1C489
Tritanopia (blue-blind)
#DDB8B2
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d2c187; /* rgb */ color: rgb(210, 193, 135); /* oklch */ color: oklch(81.1% 0.078 93.7);
Tailwind
colors: {
custom: {
50: '#e1d3aa',
500: '#d2c187',
950: '#000000',
},
}SCSS
$custom: #d2c187; $custom-light: #e1d3aa; $custom-dark: #000000;
JSON
{
"hex": "#d2c187",
"rgb": {
"r": 210,
"g": 193,
"b": 135
},
"hsl": {
"h": 46.4,
"s": 45.455,
"l": 67.647
},
"oklch": {
"l": 0.81146,
"c": 0.07812,
"h": 93.7
},
"luminance": 0.53591
}Semantic roles & 50–950 ramp
primary
#D2C187
secondary
#5669A7
accent
#4DB92D
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381