#D9BF51#D9BF51
#D9BF51 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.6% C 0.132 H 96.0°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #D9BF51 |
|---|---|
| RGB | rgb(217, 191, 81) |
| HSL | hsl(49, 64%, 58%) |
| HSV | hsv(49, 63%, 85%) |
| CMYK | cmyk(0%, 12%, 62.7%, 14.9%) |
| CIE-LAB | lab(77.64, -3.45, 57.32) |
| CIE-LCH | lch(77.64, 57.42, 93.44°) |
| OKLab | oklab(80.61% -0.0137 0.131) |
| OKLCH | oklch(80.61% 0.132 96) |
| XYZ | xyz(48.7334, 52.6098, 15.3707) |
| Luminance | 0.5261 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.73
Mustard
#DBB42C
ΔE00 4.79
Dark Yellow
#D5B60A
ΔE00 5.11
Mustard Yellow
#D2BD0A
ΔE00 5.26
Maize
#F4D054
ΔE00 5.35
Mustard (survey)
#CEB301
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9BF51 #516BD9
analogous
#D97B51 #D9BF51 #AFD951
triadic
#D9BF51 #51D9BF #BF51D9
tetradic
#D9BF51 #51D97B #516BD9 #D951AF
square
#D9BF51 #51D97B #516BD9 #D951AF
split-complementary
#D9BF51 #51AFD9 #7B51D9
monochromatic
#907B1F #C2A52A #D9BF51 #E4D183 #EFE4B5
Accessibility & contrast
On white
1.82
#D9BF51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.52
#D9BF51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9BF51
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9BF51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9BF51 | 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)
#D1BB45
Deuteranopia (green-blind)
#D8C356
Tritanopia (blue-blind)
#E9B2A7
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d9bf51; /* rgb */ color: rgb(217, 191, 81); /* oklch */ color: oklch(80.6% 0.132 96.0);
Tailwind
colors: {
custom: {
50: '#e8d286',
500: '#d9bf51',
950: '#000000',
},
}SCSS
$custom: #d9bf51; $custom-light: #e8d286; $custom-dark: #000000;
JSON
{
"hex": "#d9bf51",
"rgb": {
"r": 217,
"g": 191,
"b": 81
},
"hsl": {
"h": 48.529,
"s": 64.151,
"l": 58.431
},
"oklch": {
"l": 0.80614,
"c": 0.13175,
"h": 96
},
"luminance": 0.52607
}Semantic roles & 50–950 ramp
primary
#D9BF51
secondary
#394B95
accent
#60E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E