#BBB172#BBB172
#BBB172 is a light, moderate yellow. Relative luminance 0.432; OKLCH L 75.4% C 0.084 H 100.3°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #BBB172 |
|---|---|
| RGB | rgb(187, 177, 114) |
| HSL | hsl(52, 35%, 59%) |
| HSV | hsv(52, 39%, 73%) |
| CMYK | cmyk(0%, 5.3%, 39%, 26.7%) |
| CIE-LAB | lab(71.71, -5.70, 33.52) |
| CIE-LCH | lch(71.71, 34.00, 99.65°) |
| OKLab | oklab(75.41% -0.015 0.0822) |
| OKLCH | oklch(75.41% 0.084 100.3) |
| XYZ | xyz(39.2536, 43.2251, 22.1918) |
| Luminance | 0.4322 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.00
Sand
#C2B280
ΔE00 3.78
Khaki (survey)
#AAA662
ΔE00 4.18
Sandstone
#C9AE74
ΔE00 5.83
Sandy Brown
#C4A661
ΔE00 6.70
Tan (survey)
#D1B26F
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBB172 #727CBB
analogous
#BB8D72 #BBB172 #A1BB72
triadic
#BBB172 #72BBB1 #B172BB
tetradic
#BBB172 #72BB8D #727CBB #BB72A1
square
#BBB172 #72BB8D #727CBB #BB72A1
split-complementary
#BBB172 #72A1BB #8D72BB
monochromatic
#78703A #A2964E #BBB172 #CFC89B #E3DFC5
Accessibility & contrast
On white
2.18
#BBB172 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#BBB172 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBB172
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBB172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBB172 | 1.00 | 2.18 | 9.64 | 9.64 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCAD6D
Deuteranopia (green-blind)
#BFB274
Tritanopia (blue-blind)
#C5A9A1
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #bbb172; /* rgb */ color: rgb(187, 177, 114); /* oklch */ color: oklch(75.4% 0.084 100.3);
Tailwind
colors: {
custom: {
50: '#d0c89b',
500: '#bbb172',
950: '#000000',
},
}SCSS
$custom: #bbb172; $custom-light: #d0c89b; $custom-dark: #000000;
JSON
{
"hex": "#bbb172",
"rgb": {
"r": 187,
"g": 177,
"b": 114
},
"hsl": {
"h": 51.781,
"s": 34.928,
"l": 59.02
},
"oklch": {
"l": 0.75412,
"c": 0.08356,
"h": 100.3
},
"luminance": 0.43224
}Semantic roles & 50–950 ramp
primary
#BBB172
secondary
#B6BAD3
accent
#6CCB5D
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E