#D7C661#D7C661
#D7C661 is a very light, vivid yellow. Relative luminance 0.557; OKLCH L 82.0% C 0.124 H 99.9°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C661 |
|---|---|
| RGB | rgb(215, 198, 97) |
| HSL | hsl(51, 60%, 61%) |
| HSV | hsv(51, 55%, 84%) |
| CMYK | cmyk(0%, 7.9%, 54.9%, 15.7%) |
| CIE-LAB | lab(79.44, -6.75, 52.01) |
| CIE-LCH | lch(79.44, 52.44, 97.40°) |
| OKLab | oklab(82.05% -0.0212 0.1217) |
| OKLCH | oklch(82.05% 0.124 99.9) |
| XYZ | xyz(50.3778, 55.7003, 19.4045) |
| Luminance | 0.5570 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.72
Sandy
#F1DA7A
ΔE00 5.39
Dull Yellow
#EEDC5B
ΔE00 6.07
Light Mustard
#F7D560
ΔE00 6.41
Maize
#F4D054
ΔE00 6.41
Darkkhaki
#BDB76B
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C661 #6172D7
analogous
#D78B61 #D7C661 #ADD761
triadic
#D7C661 #61D7C6 #C661D7
tetradic
#D7C661 #61D78B #6172D7 #D761AD
square
#D7C661 #61D78B #6172D7 #D761AD
split-complementary
#D7C661 #61ADD7 #8B61D7
monochromatic
#978726 #C8B333 #D7C661 #E3D892 #F0E9C3
Accessibility & contrast
On white
1.73
#D7C661 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.14
#D7C661 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C661
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C661 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C661 | 1.00 | 1.73 | 12.14 | 12.14 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C157
Deuteranopia (green-blind)
#DBC866
Tritanopia (blue-blind)
#E6BAAF
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #d7c661; /* rgb */ color: rgb(215, 198, 97); /* oklch */ color: oklch(82.0% 0.124 99.9);
Tailwind
colors: {
custom: {
50: '#e6d791',
500: '#d7c661',
950: '#000000',
},
}SCSS
$custom: #d7c661; $custom-light: #e6d791; $custom-dark: #000000;
JSON
{
"hex": "#d7c661",
"rgb": {
"r": 215,
"g": 198,
"b": 97
},
"hsl": {
"h": 51.356,
"s": 59.596,
"l": 61.176
},
"oklch": {
"l": 0.82047,
"c": 0.12351,
"h": 99.9
},
"luminance": 0.55698
}Semantic roles & 50–950 ramp
primary
#D7C661
secondary
#404D9C
accent
#37C71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F