#BBB251#BBB251
#BBB251 is a light, moderate yellow. Relative luminance 0.430; OKLCH L 75.2% C 0.119 H 104.0°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #BBB251 |
|---|---|
| RGB | rgb(187, 178, 81) |
| HSL | hsl(55, 44%, 53%) |
| HSV | hsv(55, 57%, 73%) |
| CMYK | cmyk(0%, 4.8%, 56.7%, 26.7%) |
| CIE-LAB | lab(71.56, -9.38, 49.80) |
| CIE-LCH | lch(71.56, 50.68, 100.66°) |
| OKLab | oklab(75.16% -0.0288 0.1157) |
| OKLCH | oklch(75.16% 0.119 104) |
| XYZ | xyz(37.9003, 43.0010, 14.0866) |
| Luminance | 0.4300 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.82
Khaki (survey)
#AAA662
ΔE00 6.07
Olive Yellow
#C2B709
ΔE00 6.47
Muddy Yellow
#BFAC05
ΔE00 6.55
Vomit
#A2A415
ΔE00 6.94
Puke
#A5A502
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBB251 #515ABB
analogous
#BB7D51 #BBB251 #8FBB51
triadic
#BBB251 #51BBB2 #B251BB
tetradic
#BBB251 #51BB7D #515ABB #BB518F
square
#BBB251 #51BB7D #515ABB #BB518F
split-complementary
#BBB251 #518FBB #7D51BB
monochromatic
#696329 #958D3A #BBB251 #CCC57D #DDD9A9
Accessibility & contrast
On white
2.19
#BBB251 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.60
#BBB251 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBB251
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBB251 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBB251 | 1.00 | 2.19 | 9.60 | 9.60 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AC47
Deuteranopia (green-blind)
#C3B256
Tritanopia (blue-blind)
#C8A79D
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #bbb251; /* rgb */ color: rgb(187, 178, 81); /* oklch */ color: oklch(75.2% 0.119 104.0);
Tailwind
colors: {
custom: {
50: '#d2c885',
500: '#bbb251',
950: '#000000',
},
}SCSS
$custom: #bbb251; $custom-light: #d2c885; $custom-dark: #000000;
JSON
{
"hex": "#bbb251",
"rgb": {
"r": 187,
"g": 178,
"b": 81
},
"hsl": {
"h": 54.906,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.75155,
"c": 0.11923,
"h": 104
},
"luminance": 0.43
}Semantic roles & 50–950 ramp
primary
#BBB251
secondary
#9DA1CB
accent
#5FD454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C