#D2C87F#D2C87F
#D2C87F is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.4% C 0.094 H 101.5°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C87F |
|---|---|
| RGB | rgb(210, 200, 127) |
| HSL | hsl(53, 48%, 66%) |
| HSV | hsv(53, 40%, 82%) |
| CMYK | cmyk(0%, 4.8%, 39.5%, 17.6%) |
| CIE-LAB | lab(79.92, -6.99, 37.75) |
| CIE-LCH | lch(79.92, 38.39, 100.49°) |
| OKLab | oklab(82.45% -0.0187 0.0923) |
| OKLCH | oklch(82.45% 0.094 101.5) |
| XYZ | xyz(51.0643, 56.5439, 28.2987) |
| Luminance | 0.5654 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.52
Darkkhaki
#BDB76B
ΔE00 4.85
Greenish Beige
#C9D179
ΔE00 5.47
Beige (survey)
#E6DAA6
ΔE00 6.51
Sandy
#F1DA7A
ΔE00 6.83
Greenish Tan
#BCCB7A
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C87F #7F89D2
analogous
#D29E7F #D2C87F #B2D27F
triadic
#D2C87F #7FD2C8 #C87FD2
tetradic
#D2C87F #7FD29E #7F89D2 #D27FB2
square
#D2C87F #7FD29E #7F89D2 #D27FB2
split-complementary
#D2C87F #7FB2D2 #9E7FD2
monochromatic
#9F9238 #C2B552 #D2C87F #E2DBAC #F2EFDA
Accessibility & contrast
On white
1.71
#D2C87F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.31
#D2C87F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C87F
12.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C87F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C87F | 1.00 | 1.71 | 12.31 | 12.31 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C47A
Deuteranopia (green-blind)
#D8C882
Tritanopia (blue-blind)
#DEBFB6
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #d2c87f; /* rgb */ color: rgb(210, 200, 127); /* oklch */ color: oklch(82.4% 0.094 101.5);
Tailwind
colors: {
custom: {
50: '#e1d8a5',
500: '#d2c87f',
950: '#000000',
},
}SCSS
$custom: #d2c87f; $custom-light: #e1d8a5; $custom-dark: #000000;
JSON
{
"hex": "#d2c87f",
"rgb": {
"r": 210,
"g": 200,
"b": 127
},
"hsl": {
"h": 52.771,
"s": 47.977,
"l": 66.078
},
"oklch": {
"l": 0.82449,
"c": 0.09418,
"h": 101.5
},
"luminance": 0.56542
}Semantic roles & 50–950 ramp
primary
#D2C87F
secondary
#515BA4
accent
#3CBB2A
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380