#BFAB5F#BFAB5F
#BFAB5F is a light, moderate yellow. Relative luminance 0.410; OKLCH L 74.2% C 0.099 H 95.0°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #BFAB5F |
|---|---|
| RGB | rgb(191, 171, 95) |
| HSL | hsl(48, 43%, 56%) |
| HSV | hsv(48, 50%, 75%) |
| CMYK | cmyk(0%, 10.5%, 50.3%, 25.1%) |
| CIE-LAB | lab(70.20, -2.82, 41.48) |
| CIE-LCH | lch(70.20, 41.58, 93.89°) |
| OKLab | oklab(74.21% -0.0087 0.0989) |
| OKLCH | oklch(74.21% 0.099 95) |
| XYZ | xyz(38.1156, 41.0300, 16.7361) |
| Luminance | 0.4103 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.56
Sandy Brown
#C4A661
ΔE00 3.73
Sandstone
#C9AE74
ΔE00 4.83
Tan (survey)
#D1B26F
ΔE00 4.92
Darkkhaki
#BDB76B
ΔE00 5.03
Khaki (survey)
#AAA662
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFAB5F #5F73BF
analogous
#BF7B5F #BFAB5F #A3BF5F
triadic
#BFAB5F #5FBFAB #AB5FBF
tetradic
#BFAB5F #5FBF7B #5F73BF #BF5FA3
square
#BFAB5F #5FBF7B #5F73BF #BF5FA3
split-complementary
#BFAB5F #5FA3BF #7B5FBF
monochromatic
#75662F #A18C40 #BFAB5F #D0C28B #E2D9B6
Accessibility & contrast
On white
2.28
#BFAB5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.21
#BFAB5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFAB5F
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFAB5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFAB5F | 1.00 | 2.28 | 9.21 | 9.21 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A859
Deuteranopia (green-blind)
#BEAE62
Tritanopia (blue-blind)
#CCA199
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #bfab5f; /* rgb */ color: rgb(191, 171, 95); /* oklch */ color: oklch(74.2% 0.099 95.0);
Tailwind
colors: {
custom: {
50: '#d4c38e',
500: '#bfab5f',
950: '#000000',
},
}SCSS
$custom: #bfab5f; $custom-light: #d4c38e; $custom-dark: #000000;
JSON
{
"hex": "#bfab5f",
"rgb": {
"r": 191,
"g": 171,
"b": 95
},
"hsl": {
"h": 47.5,
"s": 42.857,
"l": 56.078
},
"oklch": {
"l": 0.74214,
"c": 0.09928,
"h": 95
},
"luminance": 0.41028
}Semantic roles & 50–950 ramp
primary
#BFAB5F
secondary
#A9B1D1
accent
#6FD355
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D