#D7C96F#D7C96F
#D7C96F is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.113 H 100.6°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C96F |
|---|---|
| RGB | rgb(215, 201, 111) |
| HSL | hsl(52, 57%, 64%) |
| HSV | hsv(52, 48%, 84%) |
| CMYK | cmyk(0%, 6.5%, 48.4%, 15.7%) |
| CIE-LAB | lab(80.39, -7.10, 46.42) |
| CIE-LCH | lch(80.39, 46.96, 98.69°) |
| OKLab | oklab(82.85% -0.0207 0.1107) |
| OKLCH | oklch(82.85% 0.113 100.6) |
| XYZ | xyz(51.7817, 57.3698, 23.3817) |
| Luminance | 0.5737 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.22
Sandy
#F1DA7A
ΔE00 5.06
Darkkhaki
#BDB76B
ΔE00 5.86
Greenish Beige
#C9D179
ΔE00 6.12
Khaki (CSS)
#F0E68C
ΔE00 6.68
Dull Yellow
#EEDC5B
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C96F #6F7DD7
analogous
#D7956F #D7C96F #B1D76F
triadic
#D7C96F #6FD7C9 #C96FD7
tetradic
#D7C96F #6FD795 #6F7DD7 #D76FB1
square
#D7C96F #6FD795 #6F7DD7 #D76FB1
split-complementary
#D7C96F #6FB1D7 #956FD7
monochromatic
#9F902C #CAB73F #D7C96F #E4DB9F #F2EDCF
Accessibility & contrast
On white
1.68
#D7C96F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.47
#D7C96F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C96F
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C96F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C96F | 1.00 | 1.68 | 12.47 | 12.47 |
| #FFFFFF | 1.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C467
Deuteranopia (green-blind)
#DCCA73
Tritanopia (blue-blind)
#E5BEB4
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #d7c96f; /* rgb */ color: rgb(215, 201, 111); /* oklch */ color: oklch(82.8% 0.113 100.6);
Tailwind
colors: {
custom: {
50: '#e5d99a',
500: '#d7c96f',
950: '#000000',
},
}SCSS
$custom: #d7c96f; $custom-light: #e5d99a; $custom-dark: #000000;
JSON
{
"hex": "#d7c96f",
"rgb": {
"r": 215,
"g": 201,
"b": 111
},
"hsl": {
"h": 51.923,
"s": 56.522,
"l": 63.922
},
"oklch": {
"l": 0.82848,
"c": 0.11266,
"h": 100.6
},
"luminance": 0.57368
}Semantic roles & 50–950 ramp
primary
#D7C96F
secondary
#4753A3
accent
#37C421
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F