#B2C02A#B2C02A
#B2C02A is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.2% C 0.163 H 115.1°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B2C02A |
|---|---|
| RGB | rgb(178, 192, 42) |
| HSL | hsl(66, 64%, 46%) |
| HSV | hsv(66, 78%, 75%) |
| CMYK | cmyk(7.3%, 0%, 78.1%, 24.7%) |
| CIE-LAB | lab(74.40, -22.52, 67.65) |
| CIE-LCH | lch(74.40, 71.30, 108.42°) |
| OKLab | oklab(77.16% -0.0692 0.1476) |
| OKLCH | oklch(77.16% 0.163 115.1) |
| XYZ | xyz(37.6288, 47.3321, 9.3438) |
| Luminance | 0.4733 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.79
Bile
#B5C306
ΔE00 2.00
Baby Puke Green
#B6C406
ΔE00 2.16
Pea
#A4BF20
ΔE00 2.80
Mustard Green
#A8B504
ΔE00 3.17
Gross Green
#A0BF16
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2C02A #382AC0
analogous
#C0832A #B2C02A #67C02A
triadic
#B2C02A #2AB2C0 #C02AB2
tetradic
#B2C02A #2AC083 #382AC0 #C02A67
square
#B2C02A #2AC083 #382AC0 #C02A67
split-complementary
#B2C02A #2A67C0 #832AC0
monochromatic
#555C14 #838E1F #B2C02A #CCD84F #DAE381
Accessibility & contrast
On white
2.01
#B2C02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.47
#B2C02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2C02A
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2C02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2C02A | 1.00 | 2.01 | 10.47 | 10.47 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CDB838
Tritanopia (blue-blind)
#BEB4A4
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b2c02a; /* rgb */ color: rgb(178, 192, 42); /* oklch */ color: oklch(77.2% 0.163 115.1);
Tailwind
colors: {
custom: {
50: '#cdd271',
500: '#b2c02a',
950: '#000000',
},
}SCSS
$custom: #b2c02a; $custom-light: #cdd271; $custom-dark: #000000;
JSON
{
"hex": "#b2c02a",
"rgb": {
"r": 178,
"g": 192,
"b": 42
},
"hsl": {
"h": 65.6,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.77162,
"c": 0.16304,
"h": 115.1
},
"luminance": 0.47331
}Semantic roles & 50–950 ramp
primary
#B2C02A
secondary
#817ACC
accent
#41E750
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B