#D9BF5B#D9BF5B
#D9BF5B is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.7% C 0.123 H 94.9°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #D9BF5B |
|---|---|
| RGB | rgb(217, 191, 91) |
| HSL | hsl(48, 62%, 60%) |
| HSV | hsv(48, 58%, 85%) |
| CMYK | cmyk(0%, 12%, 58.1%, 14.9%) |
| CIE-LAB | lab(77.74, -2.76, 52.89) |
| CIE-LCH | lch(77.74, 52.97, 92.99°) |
| OKLab | oklab(80.72% -0.0105 0.1229) |
| OKLCH | oklch(80.72% 0.123 94.9) |
| XYZ | xyz(49.1364, 52.7710, 17.4931) |
| Luminance | 0.5277 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.73
Mustard
#DBB42C
ΔE00 5.48
Maize
#F4D054
ΔE00 5.75
Desert
#CCAD60
ΔE00 6.01
Light Mustard
#F7D560
ΔE00 6.20
Dark Yellow
#D5B60A
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9BF5B #5B75D9
analogous
#D9805B #D9BF5B #B4D95B
triadic
#D9BF5B #5BD9BF #BF5BD9
tetradic
#D9BF5B #5BD980 #5B75D9 #D95BB4
square
#D9BF5B #5BD980 #5B75D9 #D95BB4
split-complementary
#D9BF5B #5BB4D9 #805BD9
monochromatic
#977F23 #C8A92E #D9BF5B #E5D28D #F0E6BE
Accessibility & contrast
On white
1.82
#D9BF5B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.55
#D9BF5B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9BF5B
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9BF5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9BF5B | 1.00 | 1.82 | 11.55 | 11.55 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BB51
Deuteranopia (green-blind)
#D7C45F
Tritanopia (blue-blind)
#E9B2A9
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d9bf5b; /* rgb */ color: rgb(217, 191, 91); /* oklch */ color: oklch(80.7% 0.123 94.9);
Tailwind
colors: {
custom: {
50: '#e8d28d',
500: '#d9bf5b',
950: '#000000',
},
}SCSS
$custom: #d9bf5b; $custom-light: #e8d28d; $custom-dark: #000000;
JSON
{
"hex": "#d9bf5b",
"rgb": {
"r": 217,
"g": 191,
"b": 91
},
"hsl": {
"h": 47.619,
"s": 62.376,
"l": 60.392
},
"oklch": {
"l": 0.80721,
"c": 0.12332,
"h": 94.9
},
"luminance": 0.52769
}Semantic roles & 50–950 ramp
primary
#D9BF5B
secondary
#3D509B
accent
#3FCA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F