#BFAB5B#BFAB5B
#BFAB5B is a light, moderate yellow. Relative luminance 0.410; OKLCH L 74.2% C 0.103 H 95.6°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #BFAB5B |
|---|---|
| RGB | rgb(191, 171, 91) |
| HSL | hsl(48, 44%, 55%) |
| HSV | hsv(48, 52%, 75%) |
| CMYK | cmyk(0%, 10.5%, 52.4%, 25.1%) |
| CIE-LAB | lab(70.15, -3.18, 43.42) |
| CIE-LCH | lch(70.15, 43.54, 94.19°) |
| OKLab | oklab(74.16% -0.0101 0.1028) |
| OKLCH | oklch(74.16% 0.103 95.6) |
| XYZ | xyz(37.9384, 40.9591, 15.8030) |
| Luminance | 0.4096 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.72
Sandy Brown
#C4A661
ΔE00 4.10
Darkkhaki
#BDB76B
ΔE00 5.07
Tan (survey)
#D1B26F
ΔE00 5.30
Sandstone
#C9AE74
ΔE00 5.42
Khaki (survey)
#AAA662
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFAB5B #5B6FBF
analogous
#BF795B #BFAB5B #A1BF5B
triadic
#BFAB5B #5BBFAB #AB5BBF
tetradic
#BFAB5B #5BBF79 #5B6FBF #BF5BA1
square
#BFAB5B #5BBF79 #5B6FBF #BF5BA1
split-complementary
#BFAB5B #5BA1BF #795BBF
monochromatic
#73652D #9F8B3E #BFAB5B #D0C287 #E1D8B3
Accessibility & contrast
On white
2.28
#BFAB5B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#BFAB5B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFAB5B
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFAB5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFAB5B | 1.00 | 2.28 | 9.19 | 9.19 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A854
Deuteranopia (green-blind)
#BFAE5E
Tritanopia (blue-blind)
#CCA098
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #bfab5b; /* rgb */ color: rgb(191, 171, 91); /* oklch */ color: oklch(74.2% 0.103 95.6);
Tailwind
colors: {
custom: {
50: '#d4c38b',
500: '#bfab5b',
950: '#000000',
},
}SCSS
$custom: #bfab5b; $custom-light: #d4c38b; $custom-dark: #000000;
JSON
{
"hex": "#bfab5b",
"rgb": {
"r": 191,
"g": 171,
"b": 91
},
"hsl": {
"h": 48,
"s": 43.86,
"l": 55.294
},
"oklch": {
"l": 0.74159,
"c": 0.10333,
"h": 95.6
},
"luminance": 0.40958
}Semantic roles & 50–950 ramp
primary
#BFAB5B
secondary
#A6AED0
accent
#6ED454
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D