#BBAF5D#BBAF5D
#BBAF5D is a light, moderate yellow. Relative luminance 0.420; OKLCH L 74.7% C 0.105 H 101.1°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #BBAF5D |
|---|---|
| RGB | rgb(187, 175, 93) |
| HSL | hsl(52, 41%, 55%) |
| HSV | hsv(52, 50%, 73%) |
| CMYK | cmyk(0%, 6.4%, 50.3%, 26.7%) |
| CIE-LAB | lab(70.88, -6.80, 43.23) |
| CIE-LCH | lch(70.88, 43.76, 98.93°) |
| OKLab | oklab(74.66% -0.0201 0.1026) |
| OKLCH | oklch(74.66% 0.105 101.1) |
| XYZ | xyz(37.8004, 42.0164, 16.4726) |
| Luminance | 0.4202 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 2.91
Khaki (survey)
#AAA662
ΔE00 4.53
Desert
#CCAD60
ΔE00 6.03
Sandy Brown
#C4A661
ΔE00 6.53
Sand
#C2B280
ΔE00 6.77
Sandstone
#C9AE74
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBAF5D #5D69BB
analogous
#BB805D #BBAF5D #98BB5D
triadic
#BBAF5D #5DBBAF #AF5DBB
tetradic
#BBAF5D #5DBB80 #5D69BB #BB5D98
square
#BBAF5D #5DBB80 #5D69BB #BB5D98
split-complementary
#BBAF5D #5D98BB #805DBB
monochromatic
#6F672F #9A8F41 #BBAF5D #CDC488 #DFDAB3
Accessibility & contrast
On white
2.23
#BBAF5D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.40
#BBAF5D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBAF5D
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBAF5D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBAF5D | 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)
#BCAB56
Deuteranopia (green-blind)
#C0B061
Tritanopia (blue-blind)
#C7A59C
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #bbaf5d; /* rgb */ color: rgb(187, 175, 93); /* oklch */ color: oklch(74.7% 0.105 101.1);
Tailwind
colors: {
custom: {
50: '#d1c68d',
500: '#bbaf5d',
950: '#000000',
},
}SCSS
$custom: #bbaf5d; $custom-light: #d1c68d; $custom-dark: #000000;
JSON
{
"hex": "#bbaf5d",
"rgb": {
"r": 187,
"g": 175,
"b": 93
},
"hsl": {
"h": 52.34,
"s": 40.87,
"l": 54.902
},
"oklch": {
"l": 0.74664,
"c": 0.10459,
"h": 101.1
},
"luminance": 0.42015
}Semantic roles & 50–950 ramp
primary
#BBAF5D
secondary
#A6ABCE
accent
#67D157
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D