#D5C55C#D5C55C
#D5C55C is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.6% C 0.127 H 100.7°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).
Color values
| HEX | #D5C55C |
|---|---|
| RGB | rgb(213, 197, 92) |
| HSL | hsl(52, 59%, 60%) |
| HSV | hsv(52, 57%, 84%) |
| CMYK | cmyk(0%, 7.5%, 56.8%, 16.5%) |
| CIE-LAB | lab(78.96, -7.45, 53.73) |
| CIE-LCH | lch(78.96, 54.24, 97.90°) |
| OKLab | oklab(81.6% -0.0237 0.1249) |
| OKLCH | oklch(81.6% 0.127 100.7) |
| XYZ | xyz(49.3403, 54.8533, 18.1119) |
| Luminance | 0.5485 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.40
Sandy
#F1DA7A
ΔE00 5.90
Dull Yellow
#EEDC5B
ΔE00 6.09
Mustard Yellow
#D2BD0A
ΔE00 6.22
Ugly Yellow
#D0C101
ΔE00 6.30
Dirty Yellow
#CDC50A
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5C55C #5C6CD5
analogous
#D5895C #D5C55C #A9D55C
triadic
#D5C55C #5CD5C5 #C55CD5
tetradic
#D5C55C #5CD589 #5C6CD5 #D55CA9
square
#D5C55C #5CD589 #5C6CD5 #D55CA9
split-complementary
#D5C55C #5CA9D5 #895CD5
monochromatic
#918325 #C2AF32 #D5C55C #E2D68D #EEE8BD
Accessibility & contrast
On white
1.75
#D5C55C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.97
#D5C55C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5C55C
11.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5C55C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5C55C | 1.00 | 1.75 | 11.97 | 11.97 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C051
Deuteranopia (green-blind)
#DAC661
Tritanopia (blue-blind)
#E4B9AE
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #d5c55c; /* rgb */ color: rgb(213, 197, 92); /* oklch */ color: oklch(81.6% 0.127 100.7);
Tailwind
colors: {
custom: {
50: '#e4d68d',
500: '#d5c55c',
950: '#000000',
},
}SCSS
$custom: #d5c55c; $custom-light: #e4d68d; $custom-dark: #000000;
JSON
{
"hex": "#d5c55c",
"rgb": {
"r": 213,
"g": 197,
"b": 92
},
"hsl": {
"h": 52.066,
"s": 59.024,
"l": 59.804
},
"oklch": {
"l": 0.81604,
"c": 0.12709,
"h": 100.7
},
"luminance": 0.54851
}Semantic roles & 50–950 ramp
primary
#D5C55C
secondary
#3F4A97
accent
#5AE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F