#D7C761#D7C761
#D7C761 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.3% C 0.124 H 100.5°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C761 |
|---|---|
| RGB | rgb(215, 199, 97) |
| HSL | hsl(52, 60%, 61%) |
| HSV | hsv(52, 55%, 84%) |
| CMYK | cmyk(0%, 7.4%, 54.9%, 15.7%) |
| CIE-LAB | lab(79.70, -7.26, 52.31) |
| CIE-LCH | lch(79.70, 52.81, 97.91°) |
| OKLab | oklab(82.25% -0.0227 0.1223) |
| OKLCH | oklch(82.25% 0.124 100.5) |
| XYZ | xyz(50.6071, 56.1589, 19.4810) |
| Luminance | 0.5616 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.91
Sandy
#F1DA7A
ΔE00 5.33
Dull Yellow
#EEDC5B
ΔE00 5.85
Light Mustard
#F7D560
ΔE00 6.45
Maize
#F4D054
ΔE00 6.49
Darkkhaki
#BDB76B
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C761 #6171D7
analogous
#D78C61 #D7C761 #ACD761
triadic
#D7C761 #61D7C7 #C761D7
tetradic
#D7C761 #61D78C #6171D7 #D761AC
square
#D7C761 #61D78C #6171D7 #D761AC
split-complementary
#D7C761 #61ACD7 #8C61D7
monochromatic
#978826 #C8B433 #D7C761 #E3D892 #F0EAC3
Accessibility & contrast
On white
1.72
#D7C761 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.23
#D7C761 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C761
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C761 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C761 | 1.00 | 1.72 | 12.23 | 12.23 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C257
Deuteranopia (green-blind)
#DCC866
Tritanopia (blue-blind)
#E6BBB0
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #d7c761; /* rgb */ color: rgb(215, 199, 97); /* oklch */ color: oklch(82.3% 0.124 100.5);
Tailwind
colors: {
custom: {
50: '#e6d791',
500: '#d7c761',
950: '#000000',
},
}SCSS
$custom: #d7c761; $custom-light: #e6d791; $custom-dark: #000000;
JSON
{
"hex": "#d7c761",
"rgb": {
"r": 215,
"g": 199,
"b": 97
},
"hsl": {
"h": 51.864,
"s": 59.596,
"l": 61.176
},
"oklch": {
"l": 0.82254,
"c": 0.12441,
"h": 100.5
},
"luminance": 0.56157
}Semantic roles & 50–950 ramp
primary
#D7C761
secondary
#404D9C
accent
#35C71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F