#B2BB40#B2BB40
#B2BB40 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.2% C 0.144 H 113.4°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BB40 |
|---|---|
| RGB | rgb(178, 187, 64) |
| HSL | hsl(64, 49%, 49%) |
| HSV | hsv(64, 66%, 73%) |
| CMYK | cmyk(4.8%, 0%, 65.8%, 26.7%) |
| CIE-LAB | lab(73.14, -18.95, 58.72) |
| CIE-LCH | lch(73.14, 61.71, 107.89°) |
| OKLab | oklab(76.19% -0.0572 0.1325) |
| OKLCH | oklch(76.19% 0.144 113.4) |
| XYZ | xyz(37.0568, 45.3765, 11.6559) |
| Luminance | 0.4538 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.46
Mustard Green
#A8B504
ΔE00 3.82
Pea
#A4BF20
ΔE00 4.16
Sick Green
#9DB92C
ΔE00 4.34
Bile
#B5C306
ΔE00 4.45
Baby Puke Green
#B6C406
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BB40 #4940BB
analogous
#BB8740 #B2BB40 #75BB40
triadic
#B2BB40 #40B2BB #BB40B2
tetradic
#B2BB40 #40BB87 #4940BB #BB4075
square
#B2BB40 #40BB87 #4940BB #BB4075
split-complementary
#B2BB40 #4075BB #8740BB
monochromatic
#5B6021 #878D30 #B2BB40 #C5CD6C #D7DC99
Accessibility & contrast
On white
2.08
#B2BB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.08
#B2BB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BB40
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BB40 | 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)
#C8B22F
Deuteranopia (green-blind)
#C8B549
Tritanopia (blue-blind)
#BDB0A2
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b2bb40; /* rgb */ color: rgb(178, 187, 64); /* oklch */ color: oklch(76.2% 0.144 113.4);
Tailwind
colors: {
custom: {
50: '#cccf7b',
500: '#b2bb40',
950: '#000000',
},
}SCSS
$custom: #b2bb40; $custom-light: #cccf7b; $custom-dark: #000000;
JSON
{
"hex": "#b2bb40",
"rgb": {
"r": 178,
"g": 187,
"b": 64
},
"hsl": {
"h": 64.39,
"s": 49.004,
"l": 49.216
},
"oklch": {
"l": 0.76192,
"c": 0.14434,
"h": 113.4
},
"luminance": 0.45376
}Semantic roles & 50–950 ramp
primary
#B2BB40
secondary
#938FC8
accent
#4FD959
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C