#BBAF5F#BBAF5F
#BBAF5F is a light, moderate yellow. Relative luminance 0.421; OKLCH L 74.7% C 0.103 H 100.9°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #BBAF5F |
|---|---|
| RGB | rgb(187, 175, 95) |
| HSL | hsl(52, 40%, 55%) |
| HSV | hsv(52, 49%, 73%) |
| CMYK | cmyk(0%, 6.4%, 49.2%, 26.7%) |
| CIE-LAB | lab(70.91, -6.61, 42.26) |
| CIE-LCH | lch(70.91, 42.77, 98.89°) |
| OKLab | oklab(74.69% -0.0194 0.1007) |
| OKLCH | oklch(74.69% 0.103 100.9) |
| XYZ | xyz(37.8901, 42.0523, 16.9453) |
| Luminance | 0.4205 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 2.78
Khaki (survey)
#AAA662
ΔE00 4.37
Desert
#CCAD60
ΔE00 5.96
Sandy Brown
#C4A661
ΔE00 6.41
Sand
#C2B280
ΔE00 6.45
Sandstone
#C9AE74
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBAF5F #5F6BBB
analogous
#BB815F #BBAF5F #99BB5F
triadic
#BBAF5F #5FBBAF #AF5FBB
tetradic
#BBAF5F #5FBB81 #5F6BBB #BB5F99
square
#BBAF5F #5FBB81 #5F6BBB #BB5F99
split-complementary
#BBAF5F #5F99BB #815FBB
monochromatic
#706830 #9B8F42 #BBAF5F #CDC48A #E0DAB5
Accessibility & contrast
On white
2.23
#BBAF5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.41
#BBAF5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBAF5F
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBAF5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBAF5F | 1.00 | 2.23 | 9.41 | 9.41 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCAB58
Deuteranopia (green-blind)
#C0B062
Tritanopia (blue-blind)
#C7A59C
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #bbaf5f; /* rgb */ color: rgb(187, 175, 95); /* oklch */ color: oklch(74.7% 0.103 100.9);
Tailwind
colors: {
custom: {
50: '#d1c68e',
500: '#bbaf5f',
950: '#000000',
},
}SCSS
$custom: #bbaf5f; $custom-light: #d1c68e; $custom-dark: #000000;
JSON
{
"hex": "#bbaf5f",
"rgb": {
"r": 187,
"g": 175,
"b": 95
},
"hsl": {
"h": 52.174,
"s": 40.351,
"l": 55.294
},
"oklch": {
"l": 0.74692,
"c": 0.10253,
"h": 100.9
},
"luminance": 0.42051
}Semantic roles & 50–950 ramp
primary
#BBAF5F
secondary
#A8ADCE
accent
#67D058
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D