#BBAF5A#BBAF5A
#BBAF5A is a light, moderate yellow. Relative luminance 0.420; OKLCH L 74.6% C 0.108 H 101.4°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #BBAF5A |
|---|---|
| RGB | rgb(187, 175, 90) |
| HSL | hsl(53, 42%, 54%) |
| HSV | hsv(53, 52%, 73%) |
| CMYK | cmyk(0%, 6.4%, 51.9%, 26.7%) |
| CIE-LAB | lab(70.85, -7.06, 44.67) |
| CIE-LCH | lch(70.85, 45.22, 98.99°) |
| OKLab | oklab(74.62% -0.0212 0.1055) |
| OKLCH | oklch(74.62% 0.108 101.4) |
| XYZ | xyz(37.6701, 41.9642, 15.7865) |
| Luminance | 0.4196 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.15
Khaki (survey)
#AAA662
ΔE00 4.80
Desert
#CCAD60
ΔE00 6.15
Sandy Brown
#C4A661
ΔE00 6.74
Sand
#C2B280
ΔE00 7.22
Tan (survey)
#D1B26F
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBAF5A #5A66BB
analogous
#BB7F5A #BBAF5A #97BB5A
triadic
#BBAF5A #5ABBAF #AF5ABB
tetradic
#BBAF5A #5ABB7F #5A66BB #BB5A97
square
#BBAF5A #5ABB7F #5A66BB #BB5A97
split-complementary
#BBAF5A #5A97BB #7F5ABB
monochromatic
#6D662D #998E3F #BBAF5A #CDC485 #DFD9B1
Accessibility & contrast
On white
2.24
#BBAF5A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.39
#BBAF5A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBAF5A
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBAF5A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBAF5A | 1.00 | 2.24 | 9.39 | 9.39 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDAA52
Deuteranopia (green-blind)
#C0B05E
Tritanopia (blue-blind)
#C7A59B
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #bbaf5a; /* rgb */ color: rgb(187, 175, 90); /* oklch */ color: oklch(74.6% 0.108 101.4);
Tailwind
colors: {
custom: {
50: '#d1c68b',
500: '#bbaf5a',
950: '#000000',
},
}SCSS
$custom: #bbaf5a; $custom-light: #d1c68b; $custom-dark: #000000;
JSON
{
"hex": "#bbaf5a",
"rgb": {
"r": 187,
"g": 175,
"b": 90
},
"hsl": {
"h": 52.577,
"s": 41.631,
"l": 54.314
},
"oklch": {
"l": 0.74624,
"c": 0.10763,
"h": 101.4
},
"luminance": 0.41963
}Semantic roles & 50–950 ramp
primary
#BBAF5A
secondary
#A4A9CD
accent
#66D156
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D