#B1C02A#B1C02A
#B1C02A is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.1% C 0.163 H 115.5°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B1C02A |
|---|---|
| RGB | rgb(177, 192, 42) |
| HSL | hsl(66, 64%, 46%) |
| HSV | hsv(66, 78%, 75%) |
| CMYK | cmyk(7.8%, 0%, 78.1%, 24.7%) |
| CIE-LAB | lab(74.33, -22.94, 67.55) |
| CIE-LCH | lch(74.33, 71.34, 108.76°) |
| OKLab | oklab(77.08% -0.0703 0.1475) |
| OKLCH | oklch(77.08% 0.163 115.5) |
| XYZ | xyz(37.4001, 47.2142, 9.3331) |
| Luminance | 0.4721 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.79
Bile
#B5C306
ΔE00 2.10
Baby Puke Green
#B6C406
ΔE00 2.27
Pea
#A4BF20
ΔE00 2.57
Mustard Green
#A8B504
ΔE00 3.17
Gross Green
#A0BF16
ΔE00 3.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1C02A #392AC0
analogous
#C0842A #B1C02A #66C02A
triadic
#B1C02A #2AB1C0 #C02AB1
tetradic
#B1C02A #2AC084 #392AC0 #C02A66
square
#B1C02A #2AC084 #392AC0 #C02A66
split-complementary
#B1C02A #2A66C0 #842AC0
monochromatic
#545C14 #838E1F #B1C02A #CBD84F #DAE381
Accessibility & contrast
On white
2.01
#B1C02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.44
#B1C02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1C02A
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1C02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1C02A | 1.00 | 2.01 | 10.44 | 10.44 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CDB838
Tritanopia (blue-blind)
#BDB5A4
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b1c02a; /* rgb */ color: rgb(177, 192, 42); /* oklch */ color: oklch(77.1% 0.163 115.5);
Tailwind
colors: {
custom: {
50: '#ccd271',
500: '#b1c02a',
950: '#000000',
},
}SCSS
$custom: #b1c02a; $custom-light: #ccd271; $custom-dark: #000000;
JSON
{
"hex": "#b1c02a",
"rgb": {
"r": 177,
"g": 192,
"b": 42
},
"hsl": {
"h": 66,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.77083,
"c": 0.16337,
"h": 115.5
},
"luminance": 0.47214
}Semantic roles & 50–950 ramp
primary
#B1C02A
secondary
#827ACC
accent
#41E751
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B