#BBAF71#BBAF71
#BBAF71 is a light, moderate yellow. Relative luminance 0.424; OKLCH L 75.0% C 0.083 H 98.6°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #BBAF71 |
|---|---|
| RGB | rgb(187, 175, 113) |
| HSL | hsl(50, 35%, 59%) |
| HSV | hsv(50, 40%, 73%) |
| CMYK | cmyk(0%, 6.4%, 39.6%, 26.7%) |
| CIE-LAB | lab(71.16, -4.76, 33.34) |
| CIE-LCH | lch(71.16, 33.67, 98.12°) |
| OKLab | oklab(74.97% -0.0124 0.0817) |
| OKLCH | oklch(74.97% 0.083 98.6) |
| XYZ | xyz(38.8049, 42.4182, 21.7630) |
| Luminance | 0.4242 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 3.40
Darkkhaki
#BDB76B
ΔE00 3.65
Khaki (survey)
#AAA662
ΔE00 4.22
Sandstone
#C9AE74
ΔE00 5.18
Sandy Brown
#C4A661
ΔE00 5.98
Desert
#CCAD60
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBAF71 #717DBB
analogous
#BB8A71 #BBAF71 #A2BB71
triadic
#BBAF71 #71BBAF #AF71BB
tetradic
#BBAF71 #71BB8A #717DBB #BB71A2
square
#BBAF71 #71BB8A #717DBB #BB71A2
split-complementary
#BBAF71 #71A2BB #8A71BB
monochromatic
#786E3A #A1944D #BBAF71 #CFC69A #E3DEC4
Accessibility & contrast
On white
2.21
#BBAF71 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.48
#BBAF71 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBAF71
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBAF71 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBAF71 | 1.00 | 2.21 | 9.48 | 9.48 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAAC6C
Deuteranopia (green-blind)
#BEB073
Tritanopia (blue-blind)
#C5A79F
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #bbaf71; /* rgb */ color: rgb(187, 175, 113); /* oklch */ color: oklch(75.0% 0.083 98.6);
Tailwind
colors: {
custom: {
50: '#d0c69a',
500: '#bbaf71',
950: '#000000',
},
}SCSS
$custom: #bbaf71; $custom-light: #d0c69a; $custom-dark: #000000;
JSON
{
"hex": "#bbaf71",
"rgb": {
"r": 187,
"g": 175,
"b": 113
},
"hsl": {
"h": 50.27,
"s": 35.238,
"l": 58.824
},
"oklch": {
"l": 0.74973,
"c": 0.08266,
"h": 98.6
},
"luminance": 0.42417
}Semantic roles & 50–950 ramp
primary
#BBAF71
secondary
#B5BAD2
accent
#6ECB5D
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E