#B2BB31#B2BB31
#B2BB31 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.154 H 113.3°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BB31 |
|---|---|
| RGB | rgb(178, 187, 49) |
| HSL | hsl(64, 58%, 46%) |
| HSV | hsv(64, 74%, 73%) |
| CMYK | cmyk(4.8%, 0%, 73.8%, 26.7%) |
| CIE-LAB | lab(73.04, -19.75, 64.19) |
| CIE-LCH | lch(73.04, 67.16, 107.11°) |
| OKLab | oklab(76.08% -0.0609 0.1415) |
| OKLCH | oklch(76.08% 0.154 113.3) |
| XYZ | xyz(36.6859, 45.2282, 9.7025) |
| Luminance | 0.4523 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.15
Mustard Green
#A8B504
ΔE00 2.68
Bile
#B5C306
ΔE00 3.23
Baby Puke Green
#B6C406
ΔE00 3.43
Pea
#A4BF20
ΔE00 3.75
Sick Green
#9DB92C
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BB31 #3A31BB
analogous
#BB7F31 #B2BB31 #6DBB31
triadic
#B2BB31 #31B2BB #BB31B2
tetradic
#B2BB31 #31BB7F #3A31BB #BB316D
square
#B2BB31 #31BB7F #3A31BB #BB316D
split-complementary
#B2BB31 #316DBB #7F31BB
monochromatic
#565A18 #848B24 #B2BB31 #CBD356 #DAE087
Accessibility & contrast
On white
2.09
#B2BB31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.05
#B2BB31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BB31
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BB31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BB31 | 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)
#C9B213
Deuteranopia (green-blind)
#C9B53C
Tritanopia (blue-blind)
#BEB0A1
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b2bb31; /* rgb */ color: rgb(178, 187, 49); /* oklch */ color: oklch(76.1% 0.154 113.3);
Tailwind
colors: {
custom: {
50: '#cdcf73',
500: '#b2bb31',
950: '#000000',
},
}SCSS
$custom: #b2bb31; $custom-light: #cdcf73; $custom-dark: #000000;
JSON
{
"hex": "#b2bb31",
"rgb": {
"r": 178,
"g": 187,
"b": 49
},
"hsl": {
"h": 63.913,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.76083,
"c": 0.15408,
"h": 113.3
},
"luminance": 0.45227
}Semantic roles & 50–950 ramp
primary
#B2BB31
secondary
#837FC9
accent
#46E250
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B