#B2BB34#B2BB34
#B2BB34 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.1% C 0.152 H 113.3°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BB34 |
|---|---|
| RGB | rgb(178, 187, 52) |
| HSL | hsl(64, 56%, 47%) |
| HSV | hsv(64, 72%, 73%) |
| CMYK | cmyk(4.8%, 0%, 72.2%, 26.7%) |
| CIE-LAB | lab(73.06, -19.61, 63.17) |
| CIE-LCH | lch(73.06, 66.15, 107.25°) |
| OKLab | oklab(76.1% -0.0602 0.1399) |
| OKLCH | oklch(76.1% 0.152 113.3) |
| XYZ | xyz(36.7514, 45.2543, 10.0471) |
| Luminance | 0.4525 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.37
Mustard Green
#A8B504
ΔE00 2.86
Bile
#B5C306
ΔE00 3.44
Baby Puke Green
#B6C406
ΔE00 3.63
Pea
#A4BF20
ΔE00 3.78
Sick Green
#9DB92C
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BB34 #3D34BB
analogous
#BB8134 #B2BB34 #6FBB34
triadic
#B2BB34 #34B2BB #BB34B2
tetradic
#B2BB34 #34BB81 #3D34BB #BB346F
square
#B2BB34 #34BB81 #3D34BB #BB346F
split-complementary
#B2BB34 #346FBB #8134BB
monochromatic
#575B19 #848B27 #B2BB34 #C9D15B #D9DF8B
Accessibility & contrast
On white
2.09
#B2BB34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.05
#B2BB34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BB34
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BB34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BB34 | 1.00 | 2.09 | 10.05 | 10.05 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B21A
Deuteranopia (green-blind)
#C9B53F
Tritanopia (blue-blind)
#BEB0A1
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b2bb34; /* rgb */ color: rgb(178, 187, 52); /* oklch */ color: oklch(76.1% 0.152 113.3);
Tailwind
colors: {
custom: {
50: '#cccf75',
500: '#b2bb34',
950: '#000000',
},
}SCSS
$custom: #b2bb34; $custom-light: #cccf75; $custom-dark: #000000;
JSON
{
"hex": "#b2bb34",
"rgb": {
"r": 178,
"g": 187,
"b": 52
},
"hsl": {
"h": 64,
"s": 56.485,
"l": 46.863
},
"oklch": {
"l": 0.76102,
"c": 0.15233,
"h": 113.3
},
"luminance": 0.45254
}Semantic roles & 50–950 ramp
primary
#B2BB34
secondary
#8782C9
accent
#48E052
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B