#D9BF4F#D9BF4F
#D9BF4F is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.6% C 0.133 H 96.2°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #D9BF4F |
|---|---|
| RGB | rgb(217, 191, 79) |
| HSL | hsl(49, 64%, 58%) |
| HSV | hsv(49, 64%, 85%) |
| CMYK | cmyk(0%, 12%, 63.6%, 14.9%) |
| CIE-LAB | lab(77.63, -3.58, 58.17) |
| CIE-LCH | lch(77.63, 58.28, 93.52°) |
| OKLab | oklab(80.6% -0.0143 0.1326) |
| OKLCH | oklch(80.6% 0.133 96.2) |
| XYZ | xyz(48.6595, 52.5802, 14.9816) |
| Luminance | 0.5258 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.69
Dark Yellow
#D5B60A
ΔE00 4.91
Sand (survey)
#E2CA76
ΔE00 4.93
Mustard Yellow
#D2BD0A
ΔE00 5.03
Maize
#F4D054
ΔE00 5.31
Mustard (survey)
#CEB301
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9BF4F #4F69D9
analogous
#D97A4F #D9BF4F #AED94F
triadic
#D9BF4F #4FD9BF #BF4FD9
tetradic
#D9BF4F #4FD97A #4F69D9 #D94FAE
square
#D9BF4F #4FD97A #4F69D9 #D94FAE
split-complementary
#D9BF4F #4FAED9 #7A4FD9
monochromatic
#8F7A1F #C1A52A #D9BF4F #E4D181 #EFE4B4
Accessibility & contrast
On white
1.82
#D9BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.52
#D9BF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9BF4F
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9BF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9BF4F | 1.00 | 1.82 | 11.52 | 11.52 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BB42
Deuteranopia (green-blind)
#D8C355
Tritanopia (blue-blind)
#E9B1A7
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d9bf4f; /* rgb */ color: rgb(217, 191, 79); /* oklch */ color: oklch(80.6% 0.133 96.2);
Tailwind
colors: {
custom: {
50: '#e8d285',
500: '#d9bf4f',
950: '#000000',
},
}SCSS
$custom: #d9bf4f; $custom-light: #e8d285; $custom-dark: #000000;
JSON
{
"hex": "#d9bf4f",
"rgb": {
"r": 217,
"g": 191,
"b": 79
},
"hsl": {
"h": 48.696,
"s": 64.486,
"l": 58.039
},
"oklch": {
"l": 0.80595,
"c": 0.13333,
"h": 96.2
},
"luminance": 0.52578
}Semantic roles & 50–950 ramp
primary
#D9BF4F
secondary
#384994
accent
#60E740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E