#D5C577#D5C577
#D5C577 is a light, moderate yellow. Relative luminance 0.554; OKLCH L 82.0% C 0.100 H 98.0°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #D5C577 |
|---|---|
| RGB | rgb(213, 197, 119) |
| HSL | hsl(50, 53%, 65%) |
| HSV | hsv(50, 44%, 84%) |
| CMYK | cmyk(0%, 7.5%, 44.1%, 16.5%) |
| CIE-LAB | lab(79.28, -5.08, 41.04) |
| CIE-LCH | lch(79.28, 41.35, 97.05°) |
| OKLab | oklab(81.96% -0.014 0.0993) |
| OKLCH | oklch(81.96% 0.1 98) |
| XYZ | xyz(50.7379, 55.4123, 25.4722) |
| Luminance | 0.5541 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.89
Darkkhaki
#BDB76B
ΔE00 5.08
Sandy
#F1DA7A
ΔE00 6.07
Tan (survey)
#D1B26F
ΔE00 6.77
Greenish Beige
#C9D179
ΔE00 6.99
Sand
#C2B280
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5C577 #7787D5
analogous
#D59677 #D5C577 #B6D577
triadic
#D5C577 #77D5C5 #C577D5
tetradic
#D5C577 #77D596 #7787D5 #D577B6
square
#D5C577 #77D596 #7787D5 #D577B6
split-complementary
#D5C577 #77B6D5 #9677D5
monochromatic
#A08D31 #C7B148 #D5C577 #E3D9A6 #F2EDD5
Accessibility & contrast
On white
1.74
#D5C577 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.08
#D5C577 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5C577
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5C577 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5C577 | 1.00 | 1.74 | 12.08 | 12.08 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3C171
Deuteranopia (green-blind)
#D7C77A
Tritanopia (blue-blind)
#E2BBB2
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d5c577; /* rgb */ color: rgb(213, 197, 119); /* oklch */ color: oklch(82.0% 0.100 98.0);
Tailwind
colors: {
custom: {
50: '#e3d69f',
500: '#d5c577',
950: '#000000',
},
}SCSS
$custom: #d5c577; $custom-light: #e3d69f; $custom-dark: #000000;
JSON
{
"hex": "#d5c577",
"rgb": {
"r": 213,
"g": 197,
"b": 119
},
"hsl": {
"h": 49.787,
"s": 52.809,
"l": 65.098
},
"oklch": {
"l": 0.81963,
"c": 0.10029,
"h": 98
},
"luminance": 0.55411
}Semantic roles & 50–950 ramp
primary
#D5C577
secondary
#4C5BA4
accent
#40C025
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140F
muted
#848380