#D7C87F#D7C87F
#D7C87F is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.9% C 0.095 H 98.0°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C87F |
|---|---|
| RGB | rgb(215, 200, 127) |
| HSL | hsl(50, 52%, 67%) |
| HSV | hsv(50, 41%, 84%) |
| CMYK | cmyk(0%, 7%, 40.9%, 15.7%) |
| CIE-LAB | lab(80.34, -5.00, 38.37) |
| CIE-LCH | lch(80.34, 38.70, 97.42°) |
| OKLab | oklab(82.88% -0.0132 0.0937) |
| OKLCH | oklch(82.88% 0.095 98) |
| XYZ | xyz(52.5105, 57.2896, 28.3665) |
| Luminance | 0.5729 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.19
Darkkhaki
#BDB76B
ΔE00 5.61
Sandy
#F1DA7A
ΔE00 6.03
Beige (survey)
#E6DAA6
ΔE00 6.29
Greenish Beige
#C9D179
ΔE00 6.81
Sand
#C2B280
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C87F #7F8ED7
analogous
#D79C7F #D7C87F #BAD77F
triadic
#D7C87F #7FD7C8 #C87FD7
tetradic
#D7C87F #7FD79C #7F8ED7 #D77FBA
square
#D7C87F #7FD79C #7F8ED7 #D77FBA
split-complementary
#D7C87F #7FBAD7 #9C7FD7
monochromatic
#A79434 #C8B450 #D7C87F #E6DCAE #F4F0DC
Accessibility & contrast
On white
1.69
#D7C87F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.46
#D7C87F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C87F
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C87F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C87F | 1.00 | 1.69 | 12.46 | 12.46 |
| #FFFFFF | 1.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C479
Deuteranopia (green-blind)
#DACA82
Tritanopia (blue-blind)
#E3BEB6
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #d7c87f; /* rgb */ color: rgb(215, 200, 127); /* oklch */ color: oklch(82.9% 0.095 98.0);
Tailwind
colors: {
custom: {
50: '#e5d8a5',
500: '#d7c87f',
950: '#000000',
},
}SCSS
$custom: #d7c87f; $custom-light: #e5d8a5; $custom-dark: #000000;
JSON
{
"hex": "#d7c87f",
"rgb": {
"r": 215,
"g": 200,
"b": 127
},
"hsl": {
"h": 49.773,
"s": 52.381,
"l": 67.059
},
"oklch": {
"l": 0.82882,
"c": 0.0946,
"h": 98
},
"luminance": 0.57288
}Semantic roles & 50–950 ramp
primary
#D7C87F
secondary
#4F5FAB
accent
#40C026
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16140F
muted
#848380