#D9BF5F#D9BF5F
#D9BF5F is a light, moderate yellow. Relative luminance 0.528; OKLCH L 80.8% C 0.120 H 94.4°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #D9BF5F |
|---|---|
| RGB | rgb(217, 191, 95) |
| HSL | hsl(47, 62%, 61%) |
| HSV | hsv(47, 56%, 85%) |
| CMYK | cmyk(0%, 12%, 56.2%, 14.9%) |
| CIE-LAB | lab(77.78, -2.46, 51.07) |
| CIE-LCH | lch(77.78, 51.13, 92.76°) |
| OKLab | oklab(80.77% -0.0092 0.1194) |
| OKLCH | oklch(80.77% 0.12 94.4) |
| XYZ | xyz(49.3136, 52.8418, 18.4262) |
| Luminance | 0.5284 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.37
Desert
#CCAD60
ΔE00 5.69
Mustard
#DBB42C
ΔE00 5.84
Maize
#F4D054
ΔE00 5.99
Tan (survey)
#D1B26F
ΔE00 6.19
Light Mustard
#F7D560
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9BF5F #5F79D9
analogous
#D9825F #D9BF5F #B6D95F
triadic
#D9BF5F #5FD9BF #BF5FD9
tetradic
#D9BF5F #5FD982 #5F79D9 #D95FB6
square
#D9BF5F #5FD982 #5F79D9 #D95FB6
split-complementary
#D9BF5F #5FB6D9 #825FD9
monochromatic
#998024 #CBAA30 #D9BF5F #E5D390 #F0E7C2
Accessibility & contrast
On white
1.82
#D9BF5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.57
#D9BF5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9BF5F
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9BF5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9BF5F | 1.00 | 1.82 | 11.57 | 11.57 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BC56
Deuteranopia (green-blind)
#D7C463
Tritanopia (blue-blind)
#E8B2A9
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d9bf5f; /* rgb */ color: rgb(217, 191, 95); /* oklch */ color: oklch(80.8% 0.120 94.4);
Tailwind
colors: {
custom: {
50: '#e7d28f',
500: '#d9bf5f',
950: '#000000',
},
}SCSS
$custom: #d9bf5f; $custom-light: #e7d28f; $custom-dark: #000000;
JSON
{
"hex": "#d9bf5f",
"rgb": {
"r": 217,
"g": 191,
"b": 95
},
"hsl": {
"h": 47.213,
"s": 61.616,
"l": 61.176
},
"oklch": {
"l": 0.80767,
"c": 0.11973,
"h": 94.4
},
"luminance": 0.5284
}Semantic roles & 50–950 ramp
primary
#D9BF5F
secondary
#3F539E
accent
#41C91C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F