#B2BB3A#B2BB3A
#B2BB3A is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.1% C 0.149 H 113.3°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BB3A |
|---|---|
| RGB | rgb(178, 187, 58) |
| HSL | hsl(64, 53%, 48%) |
| HSV | hsv(64, 69%, 73%) |
| CMYK | cmyk(4.8%, 0%, 69%, 26.7%) |
| CIE-LAB | lab(73.10, -19.30, 61.02) |
| CIE-LCH | lch(73.10, 64.00, 107.55°) |
| OKLab | oklab(76.14% -0.0588 0.1364) |
| OKLCH | oklch(76.14% 0.149 113.3) |
| XYZ | xyz(36.8952, 45.3119, 10.8047) |
| Luminance | 0.4531 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.88
Mustard Green
#A8B504
ΔE00 3.30
Bile
#B5C306
ΔE00 3.91
Pea
#A4BF20
ΔE00 3.91
Baby Puke Green
#B6C406
ΔE00 4.09
Sick Green
#9DB92C
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BB3A #433ABB
analogous
#BB833A #B2BB3A #71BB3A
triadic
#B2BB3A #3AB2BB #BB3AB2
tetradic
#B2BB3A #3ABB83 #433ABB #BB3A71
square
#B2BB3A #3ABB83 #433ABB #BB3A71
split-complementary
#B2BB3A #3A71BB #833ABB
monochromatic
#595E1D #868C2C #B2BB3A #C7CF63 #D8DD92
Accessibility & contrast
On white
2.09
#B2BB3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.06
#B2BB3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BB3A
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BB3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BB3A | 1.00 | 2.09 | 10.06 | 10.06 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B225
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#BEB0A1
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b2bb3a; /* rgb */ color: rgb(178, 187, 58); /* oklch */ color: oklch(76.1% 0.149 113.3);
Tailwind
colors: {
custom: {
50: '#cccf78',
500: '#b2bb3a',
950: '#000000',
},
}SCSS
$custom: #b2bb3a; $custom-light: #cccf78; $custom-dark: #000000;
JSON
{
"hex": "#b2bb3a",
"rgb": {
"r": 178,
"g": 187,
"b": 58
},
"hsl": {
"h": 64.186,
"s": 52.653,
"l": 48.039
},
"oklch": {
"l": 0.76144,
"c": 0.14853,
"h": 113.3
},
"luminance": 0.45311
}Semantic roles & 50–950 ramp
primary
#B2BB3A
secondary
#8D88C8
accent
#4CDC56
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B