#BFAC5A#BFAC5A
#BFAC5A is a light, moderate yellow. Relative luminance 0.413; OKLCH L 74.4% C 0.105 H 96.6°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #BFAC5A |
|---|---|
| RGB | rgb(191, 172, 90) |
| HSL | hsl(49, 44%, 55%) |
| HSV | hsv(49, 53%, 75%) |
| CMYK | cmyk(0%, 9.9%, 52.9%, 25.1%) |
| CIE-LAB | lab(70.40, -3.80, 44.22) |
| CIE-LCH | lch(70.40, 44.39, 94.91°) |
| OKLab | oklab(74.36% -0.012 0.1045) |
| OKLCH | oklch(74.36% 0.105 96.6) |
| XYZ | xyz(38.0852, 41.3212, 15.6405) |
| Luminance | 0.4132 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.05
Sandy Brown
#C4A661
ΔE00 4.60
Darkkhaki
#BDB76B
ΔE00 4.76
Tan (survey)
#D1B26F
ΔE00 5.61
Khaki (survey)
#AAA662
ΔE00 5.74
Sandstone
#C9AE74
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFAC5A #5A6DBF
analogous
#BF7A5A #BFAC5A #9FBF5A
triadic
#BFAC5A #5ABFAC #AC5ABF
tetradic
#BFAC5A #5ABF7A #5A6DBF #BF5A9F
square
#BFAC5A #5ABF7A #5A6DBF #BF5A9F
split-complementary
#BFAC5A #5A9FBF #7A5ABF
monochromatic
#72652C #9E8C3D #BFAC5A #D0C286 #E1D8B2
Accessibility & contrast
On white
2.27
#BFAC5A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#BFAC5A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFAC5A
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFAC5A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFAC5A | 1.00 | 2.27 | 9.26 | 9.26 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA953
Deuteranopia (green-blind)
#BFAF5D
Tritanopia (blue-blind)
#CCA199
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #bfac5a; /* rgb */ color: rgb(191, 172, 90); /* oklch */ color: oklch(74.4% 0.105 96.6);
Tailwind
colors: {
custom: {
50: '#d4c48b',
500: '#bfac5a',
950: '#000000',
},
}SCSS
$custom: #bfac5a; $custom-light: #d4c48b; $custom-dark: #000000;
JSON
{
"hex": "#bfac5a",
"rgb": {
"r": 191,
"g": 172,
"b": 90
},
"hsl": {
"h": 48.713,
"s": 44.105,
"l": 55.098
},
"oklch": {
"l": 0.74355,
"c": 0.10518,
"h": 96.6
},
"luminance": 0.4132
}Semantic roles & 50–950 ramp
primary
#BFAC5A
secondary
#A5ADD0
accent
#6CD454
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14120C
muted
#83817D