#D8BF4F#D8BF4F
#D8BF4F is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.133 H 96.7°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #D8BF4F |
|---|---|
| RGB | rgb(216, 191, 79) |
| HSL | hsl(49, 64%, 58%) |
| HSV | hsv(49, 63%, 85%) |
| CMYK | cmyk(0%, 11.6%, 63.4%, 15.3%) |
| CIE-LAB | lab(77.54, -4.00, 58.05) |
| CIE-LCH | lch(77.54, 58.19, 93.94°) |
| OKLab | oklab(80.5% -0.0155 0.1323) |
| OKLCH | oklch(80.5% 0.133 96.7) |
| XYZ | xyz(48.3631, 52.4274, 14.9677) |
| Luminance | 0.5242 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.88
Mustard Yellow
#D2BD0A
ΔE00 4.95
Dark Yellow
#D5B60A
ΔE00 4.96
Sand (survey)
#E2CA76
ΔE00 4.97
Mustard (survey)
#CEB301
ΔE00 5.35
Maize
#F4D054
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8BF4F #4F68D8
analogous
#D87A4F #D8BF4F #ACD84F
triadic
#D8BF4F #4FD8BF #BF4FD8
tetradic
#D8BF4F #4FD87A #4F68D8 #D84FAC
square
#D8BF4F #4FD87A #4F68D8 #D84FAC
split-complementary
#D8BF4F #4FACD8 #7A4FD8
monochromatic
#8D791F #BFA42A #D8BF4F #E3D181 #EEE3B3
Accessibility & contrast
On white
1.83
#D8BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.49
#D8BF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8BF4F
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8BF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8BF4F | 1.00 | 1.83 | 11.49 | 11.49 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BB42
Deuteranopia (green-blind)
#D7C355
Tritanopia (blue-blind)
#E8B2A7
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d8bf4f; /* rgb */ color: rgb(216, 191, 79); /* oklch */ color: oklch(80.5% 0.133 96.7);
Tailwind
colors: {
custom: {
50: '#e7d285',
500: '#d8bf4f',
950: '#000000',
},
}SCSS
$custom: #d8bf4f; $custom-light: #e7d285; $custom-dark: #000000;
JSON
{
"hex": "#d8bf4f",
"rgb": {
"r": 216,
"g": 191,
"b": 79
},
"hsl": {
"h": 49.051,
"s": 63.721,
"l": 57.843
},
"oklch": {
"l": 0.80502,
"c": 0.13322,
"h": 96.7
},
"luminance": 0.52425
}Semantic roles & 50–950 ramp
primary
#D8BF4F
secondary
#384993
accent
#5FE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E