#D8B64F#D8B64F
#D8B64F is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.7% C 0.127 H 90.9°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #D8B64F |
|---|---|
| RGB | rgb(216, 182, 79) |
| HSL | hsl(45, 64%, 58%) |
| HSV | hsv(45, 63%, 85%) |
| CMYK | cmyk(0%, 15.7%, 63.4%, 15.3%) |
| CIE-LAB | lab(75.22, 0.70, 55.53) |
| CIE-LCH | lch(75.22, 55.53, 89.28°) |
| OKLab | oklab(78.67% -0.0019 0.127) |
| OKLCH | oklch(78.67% 0.127 90.9) |
| XYZ | xyz(46.4604, 48.6219, 14.3334) |
| Luminance | 0.4862 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.50
Desert
#CCAD60
ΔE00 4.56
Gold (survey)
#DBB40C
ΔE00 5.09
Burnt Yellow
#D5AB09
ΔE00 5.38
Dark Yellow
#D5B60A
ΔE00 5.51
Tan (survey)
#D1B26F
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8B64F #4F71D8
analogous
#D8714F #D8B64F #B6D84F
triadic
#D8B64F #4FD8B6 #B64FD8
tetradic
#D8B64F #4FD871 #4F71D8 #D84FB6
square
#D8B64F #4FD871 #4F71D8 #D84FB6
split-complementary
#D8B64F #4FB6D8 #714FD8
monochromatic
#8D721F #BF9A2A #D8B64F #E3CB81 #EEE0B3
Accessibility & contrast
On white
1.96
#D8B64F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.72
#D8B64F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8B64F
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8B64F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8B64F | 1.00 | 1.96 | 10.72 | 10.72 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B444
Deuteranopia (green-blind)
#D1BD54
Tritanopia (blue-blind)
#E9A8A0
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #d8b64f; /* rgb */ color: rgb(216, 182, 79); /* oklch */ color: oklch(78.7% 0.127 90.9);
Tailwind
colors: {
custom: {
50: '#e7cb84',
500: '#d8b64f',
950: '#000000',
},
}SCSS
$custom: #d8b64f; $custom-light: #e7cb84; $custom-dark: #000000;
JSON
{
"hex": "#d8b64f",
"rgb": {
"r": 216,
"g": 182,
"b": 79
},
"hsl": {
"h": 45.109,
"s": 63.721,
"l": 57.843
},
"oklch": {
"l": 0.78668,
"c": 0.12697,
"h": 90.9
},
"luminance": 0.48619
}Semantic roles & 50–950 ramp
primary
#D8B64F
secondary
#A6B4DD
accent
#6AE741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C