#B2BB42#B2BB42
#B2BB42 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.2% C 0.143 H 113.4°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BB42 |
|---|---|
| RGB | rgb(178, 187, 66) |
| HSL | hsl(64, 48%, 50%) |
| HSV | hsv(64, 65%, 73%) |
| CMYK | cmyk(4.8%, 0%, 64.7%, 26.7%) |
| CIE-LAB | lab(73.15, -18.83, 57.93) |
| CIE-LCH | lch(73.15, 60.91, 108.00°) |
| OKLab | oklab(76.21% -0.0567 0.1311) |
| OKLCH | oklch(76.21% 0.143 113.4) |
| XYZ | xyz(37.1148, 45.3997, 11.9611) |
| Luminance | 0.4540 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.67
Mustard Green
#A8B504
ΔE00 4.01
Pea
#A4BF20
ΔE00 4.26
Sick Green
#9DB92C
ΔE00 4.37
Bile
#B5C306
ΔE00 4.65
Booger
#9BB53C
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BB42 #4B42BB
analogous
#BB8842 #B2BB42 #76BB42
triadic
#B2BB42 #42B2BB #BB42B2
tetradic
#B2BB42 #42BB88 #4B42BB #BB4276
square
#B2BB42 #42BB88 #4B42BB #BB4276
split-complementary
#B2BB42 #4276BB #8842BB
monochromatic
#5C6122 #878E32 #B2BB42 #C5CC6E #D7DC9C
Accessibility & contrast
On white
2.08
#B2BB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.08
#B2BB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BB42
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BB42 | 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)
#C8B232
Deuteranopia (green-blind)
#C8B54A
Tritanopia (blue-blind)
#BDB0A2
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b2bb42; /* rgb */ color: rgb(178, 187, 66); /* oklch */ color: oklch(76.2% 0.143 113.4);
Tailwind
colors: {
custom: {
50: '#cccf7c',
500: '#b2bb42',
950: '#000000',
},
}SCSS
$custom: #b2bb42; $custom-light: #cccf7c; $custom-dark: #000000;
JSON
{
"hex": "#b2bb42",
"rgb": {
"r": 178,
"g": 187,
"b": 66
},
"hsl": {
"h": 64.463,
"s": 47.826,
"l": 49.608
},
"oklch": {
"l": 0.76209,
"c": 0.14287,
"h": 113.4
},
"luminance": 0.45399
}Semantic roles & 50–950 ramp
primary
#B2BB42
secondary
#9591C8
accent
#50D75A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C