#D9C577#D9C577
#D9C577 is a very light, moderate yellow. Relative luminance 0.560; OKLCH L 82.3% C 0.101 H 95.4°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C577 |
|---|---|
| RGB | rgb(217, 197, 119) |
| HSL | hsl(48, 56%, 66%) |
| HSV | hsv(48, 45%, 85%) |
| CMYK | cmyk(0%, 9.2%, 45.2%, 14.9%) |
| CIE-LAB | lab(79.62, -3.46, 41.55) |
| CIE-LCH | lch(79.62, 41.69, 94.76°) |
| OKLab | oklab(82.32% -0.0095 0.1004) |
| OKLCH | oklch(82.32% 0.101 95.4) |
| XYZ | xyz(51.9127, 56.0181, 25.5272) |
| Luminance | 0.5602 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 1.96
Sandy
#F1DA7A
ΔE00 5.69
Darkkhaki
#BDB76B
ΔE00 5.99
Tan (survey)
#D1B26F
ΔE00 6.08
Desert
#CCAD60
ΔE00 6.71
Wheat (survey)
#FBDD7E
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C577 #778BD9
analogous
#D99477 #D9C577 #BCD977
triadic
#D9C577 #77D9C5 #C577D9
tetradic
#D9C577 #77D994 #778BD9 #D977BC
square
#D9C577 #77D994 #778BD9 #D977BC
split-complementary
#D9C577 #77BCD9 #9477D9
monochromatic
#A78E2F #CCB147 #D9C577 #E6D9A7 #F4EED7
Accessibility & contrast
On white
1.72
#D9C577 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.20
#D9C577 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C577
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C577 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C577 | 1.00 | 1.72 | 12.20 | 12.20 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C271
Deuteranopia (green-blind)
#D9C87A
Tritanopia (blue-blind)
#E7BAB2
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #d9c577; /* rgb */ color: rgb(217, 197, 119); /* oklch */ color: oklch(82.3% 0.101 95.4);
Tailwind
colors: {
custom: {
50: '#e6d69f',
500: '#d9c577',
950: '#000000',
},
}SCSS
$custom: #d9c577; $custom-light: #e6d69f; $custom-dark: #000000;
JSON
{
"hex": "#d9c577",
"rgb": {
"r": 217,
"g": 197,
"b": 119
},
"hsl": {
"h": 47.755,
"s": 56.322,
"l": 65.882
},
"oklch": {
"l": 0.82319,
"c": 0.10086,
"h": 95.4
},
"luminance": 0.56016
}Semantic roles & 50–950 ramp
primary
#D9C577
secondary
#4A5EAA
accent
#43C422
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380