#BBAF5B#BBAF5B
#BBAF5B is a light, moderate yellow. Relative luminance 0.420; OKLCH L 74.6% C 0.107 H 101.3°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #BBAF5B |
|---|---|
| RGB | rgb(187, 175, 91) |
| HSL | hsl(53, 41%, 55%) |
| HSV | hsv(53, 51%, 73%) |
| CMYK | cmyk(0%, 6.4%, 51.3%, 26.7%) |
| CIE-LAB | lab(70.86, -6.98, 44.19) |
| CIE-LCH | lch(70.86, 44.74, 98.97°) |
| OKLab | oklab(74.64% -0.0208 0.1046) |
| OKLCH | oklch(74.64% 0.107 101.3) |
| XYZ | xyz(37.7129, 41.9814, 16.0122) |
| Luminance | 0.4198 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.06
Khaki (survey)
#AAA662
ΔE00 4.71
Desert
#CCAD60
ΔE00 6.11
Sandy Brown
#C4A661
ΔE00 6.67
Sand
#C2B280
ΔE00 7.07
Tan (survey)
#D1B26F
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBAF5B #5B67BB
analogous
#BB7F5B #BBAF5B #97BB5B
triadic
#BBAF5B #5BBBAF #AF5BBB
tetradic
#BBAF5B #5BBB7F #5B67BB #BB5B97
square
#BBAF5B #5BBB7F #5B67BB #BB5B97
split-complementary
#BBAF5B #5B97BB #7F5BBB
monochromatic
#6E662E #998E40 #BBAF5B #CDC486 #DFD9B2
Accessibility & contrast
On white
2.23
#BBAF5B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.40
#BBAF5B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBAF5B
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBAF5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBAF5B | 1.00 | 2.23 | 9.40 | 9.40 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCAA53
Deuteranopia (green-blind)
#C0B05F
Tritanopia (blue-blind)
#C7A59C
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #bbaf5b; /* rgb */ color: rgb(187, 175, 91); /* oklch */ color: oklch(74.6% 0.107 101.3);
Tailwind
colors: {
custom: {
50: '#d1c68b',
500: '#bbaf5b',
950: '#000000',
},
}SCSS
$custom: #bbaf5b; $custom-light: #d1c68b; $custom-dark: #000000;
JSON
{
"hex": "#bbaf5b",
"rgb": {
"r": 187,
"g": 175,
"b": 91
},
"hsl": {
"h": 52.5,
"s": 41.379,
"l": 54.51
},
"oklch": {
"l": 0.74637,
"c": 0.10663,
"h": 101.3
},
"luminance": 0.4198
}Semantic roles & 50–950 ramp
primary
#BBAF5B
secondary
#A5AACD
accent
#66D157
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D