#D7C873#D7C873
#D7C873 is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.7% C 0.108 H 99.5°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C873 |
|---|---|
| RGB | rgb(215, 200, 115) |
| HSL | hsl(51, 56%, 65%) |
| HSV | hsv(51, 47%, 84%) |
| CMYK | cmyk(0%, 7%, 46.5%, 15.7%) |
| CIE-LAB | lab(80.18, -6.21, 44.19) |
| CIE-LCH | lch(80.18, 44.63, 98.00°) |
| OKLab | oklab(82.7% -0.0178 0.1061) |
| OKLCH | oklch(82.7% 0.108 99.5) |
| XYZ | xyz(51.7745, 56.9952, 24.4902) |
| Luminance | 0.5699 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.80
Sandy
#F1DA7A
ΔE00 5.22
Darkkhaki
#BDB76B
ΔE00 5.61
Greenish Beige
#C9D179
ΔE00 6.40
Khaki (CSS)
#F0E68C
ΔE00 6.90
Wheat (survey)
#FBDD7E
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C873 #7382D7
analogous
#D79673 #D7C873 #B4D773
triadic
#D7C873 #73D7C8 #C873D7
tetradic
#D7C873 #73D796 #7382D7 #D773B4
square
#D7C873 #73D796 #7382D7 #D773B4
split-complementary
#D7C873 #73B4D7 #9673D7
monochromatic
#A1902E #C9B543 #D7C873 #E5DBA3 #F2EDD2
Accessibility & contrast
On white
1.69
#D7C873 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.40
#D7C873 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C873
12.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C873 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C873 | 1.00 | 1.69 | 12.40 | 12.40 |
| #FFFFFF | 1.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C46C
Deuteranopia (green-blind)
#DBC977
Tritanopia (blue-blind)
#E4BDB4
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #d7c873; /* rgb */ color: rgb(215, 200, 115); /* oklch */ color: oklch(82.7% 0.108 99.5);
Tailwind
colors: {
custom: {
50: '#e5d89d',
500: '#d7c873',
950: '#000000',
},
}SCSS
$custom: #d7c873; $custom-light: #e5d89d; $custom-dark: #000000;
JSON
{
"hex": "#d7c873",
"rgb": {
"r": 215,
"g": 200,
"b": 115
},
"hsl": {
"h": 51,
"s": 55.556,
"l": 64.706
},
"oklch": {
"l": 0.82698,
"c": 0.10757,
"h": 99.5
},
"luminance": 0.56993
}Semantic roles & 50–950 ramp
primary
#D7C873
secondary
#4957A5
accent
#3BC322
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F