#B0C02A#B0C02A
#B0C02A is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.0% C 0.164 H 115.9°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B0C02A |
|---|---|
| RGB | rgb(176, 192, 42) |
| HSL | hsl(66, 64%, 46%) |
| HSV | hsv(66, 78%, 75%) |
| CMYK | cmyk(8.3%, 0%, 78.1%, 24.7%) |
| CIE-LAB | lab(74.25, -23.37, 67.46) |
| CIE-LCH | lch(74.25, 71.39, 109.10°) |
| OKLab | oklab(77.01% -0.0714 0.1473) |
| OKLCH | oklch(77.01% 0.164 115.9) |
| XYZ | xyz(37.1731, 47.0971, 9.3225) |
| Luminance | 0.4710 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.82
Bile
#B5C306
ΔE00 2.22
Pea
#A4BF20
ΔE00 2.35
Baby Puke Green
#B6C406
ΔE00 2.39
Gross Green
#A0BF16
ΔE00 3.09
Mustard Green
#A8B504
ΔE00 3.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0C02A #3A2AC0
analogous
#C0852A #B0C02A #65C02A
triadic
#B0C02A #2AB0C0 #C02AB0
tetradic
#B0C02A #2AC085 #3A2AC0 #C02A65
square
#B0C02A #2AC085 #3A2AC0 #C02A65
split-complementary
#B0C02A #2A65C0 #852AC0
monochromatic
#545C14 #828E1F #B0C02A #CAD84F #D9E381
Accessibility & contrast
On white
2.02
#B0C02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.42
#B0C02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0C02A
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0C02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0C02A | 1.00 | 2.02 | 10.42 | 10.42 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CDB838
Tritanopia (blue-blind)
#BCB5A4
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b0c02a; /* rgb */ color: rgb(176, 192, 42); /* oklch */ color: oklch(77.0% 0.164 115.9);
Tailwind
colors: {
custom: {
50: '#cbd271',
500: '#b0c02a',
950: '#000000',
},
}SCSS
$custom: #b0c02a; $custom-light: #cbd271; $custom-dark: #000000;
JSON
{
"hex": "#b0c02a",
"rgb": {
"r": 176,
"g": 192,
"b": 42
},
"hsl": {
"h": 66.4,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.77005,
"c": 0.16369,
"h": 115.9
},
"luminance": 0.47097
}Semantic roles & 50–950 ramp
primary
#B0C02A
secondary
#827ACC
accent
#41E752
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B