#D4B549#D4B549
#D4B549 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 78.0% C 0.130 H 93.0°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #D4B549 |
|---|---|
| RGB | rgb(212, 181, 73) |
| HSL | hsl(47, 62%, 56%) |
| HSV | hsv(47, 66%, 83%) |
| CMYK | cmyk(0%, 14.6%, 65.6%, 16.9%) |
| CIE-LAB | lab(74.53, -0.85, 57.32) |
| CIE-LCH | lch(74.53, 57.32, 90.85°) |
| OKLab | oklab(78.02% -0.0069 0.13) |
| OKLCH | oklch(78.02% 0.13 93) |
| XYZ | xyz(44.8800, 47.5283, 13.1120) |
| Luminance | 0.4753 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.28
Gold (survey)
#DBB40C
ΔE00 4.68
Dark Yellow
#D5B60A
ΔE00 4.68
Mustard (survey)
#CEB301
ΔE00 4.99
Desert
#CCAD60
ΔE00 5.01
Burnt Yellow
#D5AB09
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4B549 #4968D4
analogous
#D46F49 #D4B549 #ADD449
triadic
#D4B549 #49D4B5 #B549D4
tetradic
#D4B549 #49D46F #4968D4 #D449AD
square
#D4B549 #49D46F #4968D4 #D449AD
split-complementary
#D4B549 #49ADD4 #6F49D4
monochromatic
#846D1F #B5962B #D4B549 #E0C97B #EBDDAC
Accessibility & contrast
On white
2.00
#D4B549 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.51
#D4B549 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4B549
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4B549 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4B549 | 1.00 | 2.00 | 10.51 | 10.51 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B23C
Deuteranopia (green-blind)
#CFBB4E
Tritanopia (blue-blind)
#E4A79E
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #d4b549; /* rgb */ color: rgb(212, 181, 73); /* oklch */ color: oklch(78.0% 0.130 93.0);
Tailwind
colors: {
custom: {
50: '#e5ca81',
500: '#d4b549',
950: '#000000',
},
}SCSS
$custom: #d4b549; $custom-light: #e5ca81; $custom-dark: #000000;
JSON
{
"hex": "#d4b549",
"rgb": {
"r": 212,
"g": 181,
"b": 73
},
"hsl": {
"h": 46.619,
"s": 61.778,
"l": 55.882
},
"oklch": {
"l": 0.78019,
"c": 0.13015,
"h": 93
},
"luminance": 0.47526
}Semantic roles & 50–950 ramp
primary
#D4B549
secondary
#A0ACD9
accent
#67E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C