#D5B950#D5B950
#D5B950 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 79.0% C 0.128 H 94.3°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).
Color values
| HEX | #D5B950 |
|---|---|
| RGB | rgb(213, 185, 80) |
| HSL | hsl(47, 61%, 57%) |
| HSV | hsv(47, 62%, 84%) |
| CMYK | cmyk(0%, 13.1%, 62.4%, 16.5%) |
| CIE-LAB | lab(75.72, -2.08, 55.55) |
| CIE-LCH | lch(75.72, 55.59, 92.15°) |
| OKLab | oklab(79% -0.0096 0.1272) |
| OKLCH | oklch(79% 0.128 94.3) |
| XYZ | xyz(46.2396, 49.4256, 14.6924) |
| Luminance | 0.4942 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.18
Dark Yellow
#D5B60A
ΔE00 5.12
Desert
#CCAD60
ΔE00 5.34
Sand (survey)
#E2CA76
ΔE00 5.36
Mustard (survey)
#CEB301
ΔE00 5.42
Gold (survey)
#DBB40C
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5B950 #506CD5
analogous
#D57650 #D5B950 #AFD550
triadic
#D5B950 #50D5B9 #B950D5
tetradic
#D5B950 #50D576 #506CD5 #D550AF
square
#D5B950 #50D576 #506CD5 #D550AF
split-complementary
#D5B950 #50AFD5 #7650D5
monochromatic
#8A7421 #BB9D2D #D5B950 #E1CD81 #EDE0B3
Accessibility & contrast
On white
1.93
#D5B950 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.88
#D5B950 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5B950
10.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5B950 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5B950 | 1.00 | 1.93 | 10.88 | 10.88 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB644
Deuteranopia (green-blind)
#D2BE55
Tritanopia (blue-blind)
#E5ACA2
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #d5b950; /* rgb */ color: rgb(213, 185, 80); /* oklch */ color: oklch(79.0% 0.128 94.3);
Tailwind
colors: {
custom: {
50: '#e5cd85',
500: '#d5b950',
950: '#000000',
},
}SCSS
$custom: #d5b950; $custom-light: #e5cd85; $custom-dark: #000000;
JSON
{
"hex": "#d5b950",
"rgb": {
"r": 213,
"g": 185,
"b": 80
},
"hsl": {
"h": 47.368,
"s": 61.29,
"l": 57.451
},
"oklch": {
"l": 0.79,
"c": 0.12759,
"h": 94.3
},
"luminance": 0.49423
}Semantic roles & 50–950 ramp
primary
#D5B950
secondary
#A6B1DB
accent
#65E443
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C