#D5B249#D5B249
#D5B249 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.5% C 0.128 H 90.5°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #D5B249 |
|---|---|
| RGB | rgb(213, 178, 73) |
| HSL | hsl(45, 63%, 56%) |
| HSV | hsv(45, 66%, 84%) |
| CMYK | cmyk(0%, 16.4%, 65.7%, 16.5%) |
| CIE-LAB | lab(73.85, 1.16, 56.62) |
| CIE-LCH | lch(73.85, 56.63, 88.83°) |
| OKLab | oklab(77.51% -0.0012 0.1285) |
| OKLCH | oklch(77.51% 0.128 90.5) |
| XYZ | xyz(44.5658, 46.4705, 12.9244) |
| Luminance | 0.4647 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.23
Desert
#CCAD60
ΔE00 4.36
Burnt Yellow
#D5AB09
ΔE00 4.64
Gold (survey)
#DBB40C
ΔE00 4.83
Dark Yellow
#D5B60A
ΔE00 5.38
Goldenrod
#DAA520
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5B249 #496CD5
analogous
#D56C49 #D5B249 #B2D549
triadic
#D5B249 #49D5B2 #B249D5
tetradic
#D5B249 #49D56C #496CD5 #D549B2
square
#D5B249 #49D56C #496CD5 #D549B2
split-complementary
#D5B249 #49B2D5 #6C49D5
monochromatic
#856B1F #B7942A #D5B249 #E0C77B #ECDCAC
Accessibility & contrast
On white
2.04
#D5B249 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.29
#D5B249 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5B249
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5B249 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5B249 | 1.00 | 2.04 | 10.29 | 10.29 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B03D
Deuteranopia (green-blind)
#CDBA4E
Tritanopia (blue-blind)
#E6A49C
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #d5b249; /* rgb */ color: rgb(213, 178, 73); /* oklch */ color: oklch(77.5% 0.128 90.5);
Tailwind
colors: {
custom: {
50: '#e5c880',
500: '#d5b249',
950: '#000000',
},
}SCSS
$custom: #d5b249; $custom-light: #e5c880; $custom-dark: #000000;
JSON
{
"hex": "#d5b249",
"rgb": {
"r": 213,
"g": 178,
"b": 73
},
"hsl": {
"h": 45,
"s": 62.5,
"l": 56.078
},
"oklch": {
"l": 0.77507,
"c": 0.12848,
"h": 90.5
},
"luminance": 0.46468
}Semantic roles & 50–950 ramp
primary
#D5B249
secondary
#A0AEDA
accent
#6BE642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C