#D3BF5F#D3BF5F
#D3BF5F is a light, moderate yellow. Relative luminance 0.519; OKLCH L 80.2% C 0.119 H 97.8°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #D3BF5F |
|---|---|
| RGB | rgb(211, 191, 95) |
| HSL | hsl(50, 57%, 60%) |
| HSV | hsv(50, 55%, 83%) |
| CMYK | cmyk(0%, 9.5%, 55%, 17.3%) |
| CIE-LAB | lab(77.24, -4.96, 50.30) |
| CIE-LCH | lch(77.24, 50.55, 95.63°) |
| OKLab | oklab(80.22% -0.016 0.1179) |
| OKLCH | oklch(80.22% 0.119 97.8) |
| XYZ | xyz(47.5620, 51.9387, 18.3441) |
| Luminance | 0.5194 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.84
Darkkhaki
#BDB76B
ΔE00 5.76
Desert
#CCAD60
ΔE00 6.33
Sandy
#F1DA7A
ΔE00 6.70
Mustard Yellow
#D2BD0A
ΔE00 6.87
Mustard
#DBB42C
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D3BF5F #5F73D3
analogous
#D3855F #D3BF5F #ADD35F
triadic
#D3BF5F #5FD3BF #BF5FD3
tetradic
#D3BF5F #5FD385 #5F73D3 #D35FAD
square
#D3BF5F #5FD385 #5F73D3 #D35FAD
split-complementary
#D3BF5F #5FADD3 #855FD3
monochromatic
#907E28 #C0A835 #D3BF5F #E0D28F #EDE5BF
Accessibility & contrast
On white
1.84
#D3BF5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.39
#D3BF5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D3BF5F
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D3BF5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D3BF5F | 1.00 | 1.84 | 11.39 | 11.39 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBB56
Deuteranopia (green-blind)
#D4C263
Tritanopia (blue-blind)
#E2B3A9
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #d3bf5f; /* rgb */ color: rgb(211, 191, 95); /* oklch */ color: oklch(80.2% 0.119 97.8);
Tailwind
colors: {
custom: {
50: '#e3d28f',
500: '#d3bf5f',
950: '#000000',
},
}SCSS
$custom: #d3bf5f; $custom-light: #e3d28f; $custom-dark: #000000;
JSON
{
"hex": "#d3bf5f",
"rgb": {
"r": 211,
"g": 191,
"b": 95
},
"hsl": {
"h": 49.655,
"s": 56.863,
"l": 60
},
"oklch": {
"l": 0.80215,
"c": 0.11894,
"h": 97.8
},
"luminance": 0.51937
}Semantic roles & 50–950 ramp
primary
#D3BF5F
secondary
#404F96
accent
#62E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F