#D7C76F#D7C76F
#D7C76F is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.4% C 0.111 H 99.2°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C76F |
|---|---|
| RGB | rgb(215, 199, 111) |
| HSL | hsl(51, 57%, 64%) |
| HSV | hsv(51, 48%, 84%) |
| CMYK | cmyk(0%, 7.4%, 48.4%, 15.7%) |
| CIE-LAB | lab(79.87, -6.07, 45.78) |
| CIE-LCH | lch(79.87, 46.18, 97.55°) |
| OKLab | oklab(82.44% -0.0178 0.1093) |
| OKLCH | oklch(82.44% 0.111 99.2) |
| XYZ | xyz(51.3185, 56.4434, 23.2273) |
| Luminance | 0.5644 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.73
Sandy
#F1DA7A
ΔE00 5.21
Darkkhaki
#BDB76B
ΔE00 5.70
Greenish Beige
#C9D179
ΔE00 6.74
Wheat (survey)
#FBDD7E
ΔE00 6.91
Dull Yellow
#EEDC5B
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C76F #6F7FD7
analogous
#D7936F #D7C76F #B3D76F
triadic
#D7C76F #6FD7C7 #C76FD7
tetradic
#D7C76F #6FD793 #6F7FD7 #D76FB3
square
#D7C76F #6FD793 #6F7FD7 #D76FB3
split-complementary
#D7C76F #6FB3D7 #936FD7
monochromatic
#9F8E2C #CAB43F #D7C76F #E4DA9F #F2ECCF
Accessibility & contrast
On white
1.71
#D7C76F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.29
#D7C76F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C76F
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C76F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C76F | 1.00 | 1.71 | 12.29 | 12.29 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C368
Deuteranopia (green-blind)
#DBC973
Tritanopia (blue-blind)
#E5BCB2
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #d7c76f; /* rgb */ color: rgb(215, 199, 111); /* oklch */ color: oklch(82.4% 0.111 99.2);
Tailwind
colors: {
custom: {
50: '#e5d79a',
500: '#d7c76f',
950: '#000000',
},
}SCSS
$custom: #d7c76f; $custom-light: #e5d79a; $custom-dark: #000000;
JSON
{
"hex": "#d7c76f",
"rgb": {
"r": 215,
"g": 199,
"b": 111
},
"hsl": {
"h": 50.769,
"s": 56.522,
"l": 63.922
},
"oklch": {
"l": 0.82435,
"c": 0.11076,
"h": 99.2
},
"luminance": 0.56442
}Semantic roles & 50–950 ramp
primary
#D7C76F
secondary
#4755A3
accent
#3AC421
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F