#D5C45F#D5C45F
#D5C45F is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.123 H 99.9°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #D5C45F |
|---|---|
| RGB | rgb(213, 196, 95) |
| HSL | hsl(51, 58%, 60%) |
| HSV | hsv(51, 55%, 84%) |
| CMYK | cmyk(0%, 8%, 55.4%, 16.5%) |
| CIE-LAB | lab(78.73, -6.71, 52.07) |
| CIE-LCH | lch(78.73, 52.50, 97.34°) |
| OKLab | oklab(81.43% -0.0212 0.1216) |
| OKLCH | oklch(81.43% 0.123 99.9) |
| XYZ | xyz(49.2478, 54.4541, 18.7408) |
| Luminance | 0.5445 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.94
Sandy
#F1DA7A
ΔE00 5.87
Darkkhaki
#BDB76B
ΔE00 6.21
Dull Yellow
#EEDC5B
ΔE00 6.49
Mustard Yellow
#D2BD0A
ΔE00 6.58
Maize
#F4D054
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5C45F #5F70D5
analogous
#D5895F #D5C45F #ABD55F
triadic
#D5C45F #5FD5C4 #C45FD5
tetradic
#D5C45F #5FD589 #5F70D5 #D55FAB
square
#D5C45F #5FD589 #5F70D5 #D55FAB
split-complementary
#D5C45F #5FABD5 #895FD5
monochromatic
#938327 #C3AF33 #D5C45F #E2D68F #EEE8C0
Accessibility & contrast
On white
1.77
#D5C45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.89
#D5C45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5C45F
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5C45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5C45F | 1.00 | 1.77 | 11.89 | 11.89 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BF55
Deuteranopia (green-blind)
#D9C664
Tritanopia (blue-blind)
#E4B8AD
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #d5c45f; /* rgb */ color: rgb(213, 196, 95); /* oklch */ color: oklch(81.4% 0.123 99.9);
Tailwind
colors: {
custom: {
50: '#e4d58f',
500: '#d5c45f',
950: '#000000',
},
}SCSS
$custom: #d5c45f; $custom-light: #e4d58f; $custom-dark: #000000;
JSON
{
"hex": "#d5c45f",
"rgb": {
"r": 213,
"g": 196,
"b": 95
},
"hsl": {
"h": 51.356,
"s": 58.416,
"l": 60.392
},
"oklch": {
"l": 0.81431,
"c": 0.12346,
"h": 99.9
},
"luminance": 0.54452
}Semantic roles & 50–950 ramp
primary
#D5C45F
secondary
#404D98
accent
#37C61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F