#B2BA32#B2BA32
#B2BA32 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 75.9% C 0.152 H 112.9°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BA32 |
|---|---|
| RGB | rgb(178, 186, 50) |
| HSL | hsl(64, 58%, 46%) |
| HSV | hsv(64, 73%, 73%) |
| CMYK | cmyk(4.3%, 0%, 73.1%, 27.1%) |
| CIE-LAB | lab(72.77, -19.21, 63.59) |
| CIE-LCH | lch(72.77, 66.43, 106.81°) |
| OKLab | oklab(75.87% -0.0593 0.1404) |
| OKLCH | oklch(75.87% 0.152 112.9) |
| XYZ | xyz(36.4959, 44.8139, 9.7444) |
| Luminance | 0.4481 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.35
Mustard Green
#A8B504
ΔE00 2.68
Bile
#B5C306
ΔE00 3.51
Baby Puke Green
#B6C406
ΔE00 3.71
Pea
#A4BF20
ΔE00 4.00
Puke Yellow
#C2BE0E
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BA32 #3A32BA
analogous
#BA7E32 #B2BA32 #6EBA32
triadic
#B2BA32 #32B2BA #BA32B2
tetradic
#B2BA32 #32BA7E #3A32BA #BA326E
square
#B2BA32 #32BA7E #3A32BA #BA326E
split-complementary
#B2BA32 #326EBA #7E32BA
monochromatic
#565A18 #848A25 #B2BA32 #CBD257 #DADF88
Accessibility & contrast
On white
2.11
#B2BA32 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#B2BA32 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BA32
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BA32 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BA32 | 1.00 | 2.11 | 9.96 | 9.96 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B116
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#BEAFA0
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b2ba32; /* rgb */ color: rgb(178, 186, 50); /* oklch */ color: oklch(75.9% 0.152 112.9);
Tailwind
colors: {
custom: {
50: '#cdce74',
500: '#b2ba32',
950: '#000000',
},
}SCSS
$custom: #b2ba32; $custom-light: #cdce74; $custom-dark: #000000;
JSON
{
"hex": "#b2ba32",
"rgb": {
"r": 178,
"g": 186,
"b": 50
},
"hsl": {
"h": 63.529,
"s": 57.627,
"l": 46.275
},
"oklch": {
"l": 0.75866,
"c": 0.15245,
"h": 112.9
},
"luminance": 0.44813
}Semantic roles & 50–950 ramp
primary
#B2BA32
secondary
#837FC9
accent
#47E150
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B