#B2BB23#B2BB23
#B2BB23 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.0% C 0.161 H 113.2°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BB23 |
|---|---|
| RGB | rgb(178, 187, 35) |
| HSL | hsl(64, 68%, 44%) |
| HSV | hsv(64, 81%, 73%) |
| CMYK | cmyk(4.8%, 0%, 81.3%, 26.7%) |
| CIE-LAB | lab(72.98, -20.30, 68.33) |
| CIE-LCH | lch(72.98, 71.28, 106.55°) |
| OKLab | oklab(76.01% -0.0635 0.1479) |
| OKLCH | oklch(76.01% 0.161 113.2) |
| XYZ | xyz(36.4350, 45.1278, 8.3810) |
| Luminance | 0.4513 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.46
Mustard Green
#A8B504
ΔE00 2.15
Bile
#B5C306
ΔE00 2.54
Baby Puke Green
#B6C406
ΔE00 2.76
Pea
#A4BF20
ΔE00 3.82
Puke Yellow
#C2BE0E
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BB23 #2C23BB
analogous
#BB7823 #B2BB23 #66BB23
triadic
#B2BB23 #23B2BB #BB23B2
tetradic
#B2BB23 #23BB78 #2C23BB #BB2366
square
#B2BB23 #23BB78 #2C23BB #BB2366
split-complementary
#B2BB23 #2366BB #7823BB
monochromatic
#505410 #818719 #B2BB23 #D2DB40 #DEE574
Accessibility & contrast
On white
2.09
#B2BB23 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.03
#B2BB23 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BB23
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BB23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BB23 | 1.00 | 2.09 | 10.03 | 10.03 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CAB532
Tritanopia (blue-blind)
#BEAFA0
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b2bb23; /* rgb */ color: rgb(178, 187, 35); /* oklch */ color: oklch(76.0% 0.161 113.2);
Tailwind
colors: {
custom: {
50: '#cdcf6d',
500: '#b2bb23',
950: '#000000',
},
}SCSS
$custom: #b2bb23; $custom-light: #cdcf6d; $custom-dark: #000000;
JSON
{
"hex": "#b2bb23",
"rgb": {
"r": 178,
"g": 187,
"b": 35
},
"hsl": {
"h": 63.553,
"s": 68.468,
"l": 43.529
},
"oklch": {
"l": 0.76009,
"c": 0.16095,
"h": 113.2
},
"luminance": 0.45127
}Semantic roles & 50–950 ramp
primary
#B2BB23
secondary
#736ECC
accent
#3CEB47
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B