#B4BB2B#B4BB2B
#B4BB2B is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.2% C 0.157 H 112.5°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BB2B |
|---|---|
| RGB | rgb(180, 187, 43) |
| HSL | hsl(63, 63%, 45%) |
| HSV | hsv(63, 77%, 73%) |
| CMYK | cmyk(3.7%, 0%, 77%, 26.7%) |
| CIE-LAB | lab(73.17, -19.16, 66.29) |
| CIE-LCH | lch(73.17, 69.00, 106.12°) |
| OKLab | oklab(76.21% -0.0599 0.1449) |
| OKLCH | oklch(76.21% 0.157 112.5) |
| XYZ | xyz(37.0300, 45.4193, 9.1012) |
| Luminance | 0.4542 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.07
Mustard Green
#A8B504
ΔE00 2.60
Bile
#B5C306
ΔE00 2.92
Baby Puke Green
#B6C406
ΔE00 3.12
Puke Yellow
#C2BE0E
ΔE00 3.76
Pea
#A4BF20
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BB2B #322BBB
analogous
#BB7A2B #B4BB2B #6CBB2B
triadic
#B4BB2B #2BB4BB #BB2BB4
tetradic
#B4BB2B #2BBB7A #322BBB #BB2B6C
square
#B4BB2B #2BBB7A #322BBB #BB2B6C
split-complementary
#B4BB2B #2B6CBB #7A2BBB
monochromatic
#545714 #848920 #B4BB2B #CFD64D #DDE27F
Accessibility & contrast
On white
2.08
#B4BB2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.08
#B4BB2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BB2B
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BB2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BB2B | 1.00 | 2.08 | 10.08 | 10.08 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CAB538
Tritanopia (blue-blind)
#C1AFA0
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b4bb2b; /* rgb */ color: rgb(180, 187, 43); /* oklch */ color: oklch(76.2% 0.157 112.5);
Tailwind
colors: {
custom: {
50: '#cecf71',
500: '#b4bb2b',
950: '#000000',
},
}SCSS
$custom: #b4bb2b; $custom-light: #cecf71; $custom-dark: #000000;
JSON
{
"hex": "#b4bb2b",
"rgb": {
"r": 180,
"g": 187,
"b": 43
},
"hsl": {
"h": 62.917,
"s": 62.609,
"l": 45.098
},
"oklch": {
"l": 0.76212,
"c": 0.15674,
"h": 112.5
},
"luminance": 0.45418
}Semantic roles & 50–950 ramp
primary
#B4BB2B
secondary
#7C78CA
accent
#42E64A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B