#B2BB30#B2BB30
#B2BB30 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.155 H 113.3°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BB30 |
|---|---|
| RGB | rgb(178, 187, 48) |
| HSL | hsl(64, 59%, 46%) |
| HSV | hsv(64, 74%, 73%) |
| CMYK | cmyk(4.8%, 0%, 74.3%, 26.7%) |
| CIE-LAB | lab(73.04, -19.80, 64.52) |
| CIE-LCH | lch(73.04, 67.49, 107.06°) |
| OKLab | oklab(76.08% -0.0611 0.1421) |
| OKLCH | oklch(76.08% 0.155 113.3) |
| XYZ | xyz(36.6651, 45.2198, 9.5926) |
| Luminance | 0.4522 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.08
Mustard Green
#A8B504
ΔE00 2.62
Bile
#B5C306
ΔE00 3.17
Baby Puke Green
#B6C406
ΔE00 3.37
Pea
#A4BF20
ΔE00 3.74
Puke Yellow
#C2BE0E
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BB30 #3930BB
analogous
#BB7E30 #B2BB30 #6CBB30
triadic
#B2BB30 #30B2BB #BB30B2
tetradic
#B2BB30 #30BB7E #3930BB #BB306C
square
#B2BB30 #30BB7E #3930BB #BB306C
split-complementary
#B2BB30 #306CBB #7E30BB
monochromatic
#555A17 #848A23 #B2BB30 #CBD355 #DAE086
Accessibility & contrast
On white
2.09
#B2BB30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.04
#B2BB30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BB30
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BB30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BB30 | 1.00 | 2.09 | 10.04 | 10.04 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B211
Deuteranopia (green-blind)
#C9B53C
Tritanopia (blue-blind)
#BEB0A1
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b2bb30; /* rgb */ color: rgb(178, 187, 48); /* oklch */ color: oklch(76.1% 0.155 113.3);
Tailwind
colors: {
custom: {
50: '#cdcf73',
500: '#b2bb30',
950: '#000000',
},
}SCSS
$custom: #b2bb30; $custom-light: #cdcf73; $custom-dark: #000000;
JSON
{
"hex": "#b2bb30",
"rgb": {
"r": 178,
"g": 187,
"b": 48
},
"hsl": {
"h": 63.885,
"s": 59.149,
"l": 46.078
},
"oklch": {
"l": 0.76077,
"c": 0.15465,
"h": 113.3
},
"luminance": 0.45219
}Semantic roles & 50–950 ramp
primary
#B2BB30
secondary
#827DC9
accent
#45E250
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B