#D5C660#D5C660
#D5C660 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.9% C 0.124 H 101.0°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #D5C660 |
|---|---|
| RGB | rgb(213, 198, 96) |
| HSL | hsl(52, 58%, 61%) |
| HSV | hsv(52, 55%, 84%) |
| CMYK | cmyk(0%, 7%, 54.9%, 16.5%) |
| CIE-LAB | lab(79.26, -7.66, 52.22) |
| CIE-LCH | lch(79.26, 52.78, 98.34°) |
| OKLab | oklab(81.86% -0.0238 0.1221) |
| OKLCH | oklch(81.86% 0.124 101) |
| XYZ | xyz(49.7476, 55.3807, 19.1331) |
| Luminance | 0.5538 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.19
Sandy
#F1DA7A
ΔE00 5.70
Dull Yellow
#EEDC5B
ΔE00 6.12
Darkkhaki
#BDB76B
ΔE00 6.28
Mustard Yellow
#D2BD0A
ΔE00 6.74
Ugly Yellow
#D0C101
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5C660 #606FD5
analogous
#D58B60 #D5C660 #A9D560
triadic
#D5C660 #60D5C6 #C660D5
tetradic
#D5C660 #60D58B #606FD5 #D560A9
square
#D5C660 #60D58B #606FD5 #D560A9
split-complementary
#D5C660 #60A9D5 #8B60D5
monochromatic
#948627 #C4B234 #D5C660 #E2D790 #EFE9C1
Accessibility & contrast
On white
1.74
#D5C660 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.08
#D5C660 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5C660
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5C660 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5C660 | 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)
#D6C156
Deuteranopia (green-blind)
#DAC765
Tritanopia (blue-blind)
#E3BAAF
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d5c660; /* rgb */ color: rgb(213, 198, 96); /* oklch */ color: oklch(81.9% 0.124 101.0);
Tailwind
colors: {
custom: {
50: '#e4d790',
500: '#d5c660',
950: '#000000',
},
}SCSS
$custom: #d5c660; $custom-light: #e4d790; $custom-dark: #000000;
JSON
{
"hex": "#d5c660",
"rgb": {
"r": 213,
"g": 198,
"b": 96
},
"hsl": {
"h": 52.308,
"s": 58.209,
"l": 60.588
},
"oklch": {
"l": 0.81858,
"c": 0.12436,
"h": 101
},
"luminance": 0.55379
}Semantic roles & 50–950 ramp
primary
#D5C660
secondary
#404C99
accent
#35C620
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F