#BBB166#BBB166
#BBB166 is a light, moderate yellow. Relative luminance 0.430; OKLCH L 75.2% C 0.097 H 101.7°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #BBB166 |
|---|---|
| RGB | rgb(187, 177, 102) |
| HSL | hsl(53, 38%, 57%) |
| HSV | hsv(53, 45%, 73%) |
| CMYK | cmyk(0%, 5.3%, 45.5%, 26.7%) |
| CIE-LAB | lab(71.53, -6.98, 39.50) |
| CIE-LCH | lch(71.53, 40.11, 100.03°) |
| OKLab | oklab(75.22% -0.0197 0.0951) |
| OKLCH | oklch(75.22% 0.097 101.7) |
| XYZ | xyz(38.6149, 42.9696, 18.8277) |
| Luminance | 0.4297 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 1.88
Khaki (survey)
#AAA662
ΔE00 4.08
Sand
#C2B280
ΔE00 5.75
Desert
#CCAD60
ΔE00 6.46
Sandstone
#C9AE74
ΔE00 6.79
Sandy Brown
#C4A661
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBB166 #6670BB
analogous
#BB8766 #BBB166 #9BBB66
triadic
#BBB166 #66BBB1 #B166BB
tetradic
#BBB166 #66BB87 #6670BB #BB669B
square
#BBB166 #66BB87 #6670BB #BB669B
split-complementary
#BBB166 #669BBB #8766BB
monochromatic
#736C33 #9E9346 #BBB166 #CEC790 #E1DCBB
Accessibility & contrast
On white
2.19
#BBB166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.59
#BBB166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBB166
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBB166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBB166 | 1.00 | 2.19 | 9.59 | 9.59 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDAD60
Deuteranopia (green-blind)
#C1B169
Tritanopia (blue-blind)
#C6A89F
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #bbb166; /* rgb */ color: rgb(187, 177, 102); /* oklch */ color: oklch(75.2% 0.097 101.7);
Tailwind
colors: {
custom: {
50: '#d1c893',
500: '#bbb166',
950: '#000000',
},
}SCSS
$custom: #bbb166; $custom-light: #d1c893; $custom-dark: #000000;
JSON
{
"hex": "#bbb166",
"rgb": {
"r": 187,
"g": 177,
"b": 102
},
"hsl": {
"h": 52.941,
"s": 38.462,
"l": 56.667
},
"oklch": {
"l": 0.75219,
"c": 0.0971,
"h": 101.7
},
"luminance": 0.42968
}Semantic roles & 50–950 ramp
primary
#BBB166
secondary
#ADB1D0
accent
#67CE59
background
#FDFCF9
surface
#FAF8F1
border
#D3D1CB
text
#14130D
muted
#83827E