#D4BF5F#D4BF5F
#D4BF5F is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.119 H 97.2°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #D4BF5F |
|---|---|
| RGB | rgb(212, 191, 95) |
| HSL | hsl(49, 58%, 60%) |
| HSV | hsv(49, 55%, 83%) |
| CMYK | cmyk(0%, 9.9%, 55.2%, 16.9%) |
| CIE-LAB | lab(77.33, -4.54, 50.43) |
| CIE-LCH | lch(77.33, 50.63, 95.15°) |
| OKLab | oklab(80.31% -0.0149 0.1181) |
| OKLCH | oklch(80.31% 0.119 97.2) |
| XYZ | xyz(47.8495, 52.0869, 18.3576) |
| Luminance | 0.5209 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.71
Darkkhaki
#BDB76B
ΔE00 5.98
Desert
#CCAD60
ΔE00 6.20
Sandy
#F1DA7A
ΔE00 6.62
Mustard
#DBB42C
ΔE00 6.68
Tan (survey)
#D1B26F
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4BF5F #5F74D4
analogous
#D4855F #D4BF5F #AED45F
triadic
#D4BF5F #5FD4BF #BF5FD4
tetradic
#D4BF5F #5FD485 #5F74D4 #D45FAE
square
#D4BF5F #5FD485 #5F74D4 #D45FAE
split-complementary
#D4BF5F #5FAED4 #855FD4
monochromatic
#917E27 #C2A834 #D4BF5F #E1D28F #EEE6BF
Accessibility & contrast
On white
1.84
#D4BF5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.42
#D4BF5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4BF5F
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4BF5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4BF5F | 1.00 | 1.84 | 11.42 | 11.42 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBB56
Deuteranopia (green-blind)
#D5C263
Tritanopia (blue-blind)
#E3B3A9
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #d4bf5f; /* rgb */ color: rgb(212, 191, 95); /* oklch */ color: oklch(80.3% 0.119 97.2);
Tailwind
colors: {
custom: {
50: '#e4d28f',
500: '#d4bf5f',
950: '#000000',
},
}SCSS
$custom: #d4bf5f; $custom-light: #e4d28f; $custom-dark: #000000;
JSON
{
"hex": "#d4bf5f",
"rgb": {
"r": 212,
"g": 191,
"b": 95
},
"hsl": {
"h": 49.231,
"s": 57.635,
"l": 60.196
},
"oklch": {
"l": 0.80306,
"c": 0.11904,
"h": 97.2
},
"luminance": 0.52085
}Semantic roles & 50–950 ramp
primary
#D4BF5F
secondary
#405097
accent
#3EC520
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F