#B1C21F#B1C21F
#B1C21F is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.5% C 0.170 H 116.1°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B1C21F |
|---|---|
| RGB | rgb(177, 194, 31) |
| HSL | hsl(66, 72%, 44%) |
| HSV | hsv(66, 84%, 76%) |
| CMYK | cmyk(8.8%, 0%, 84%, 23.9%) |
| CIE-LAB | lab(74.84, -24.29, 70.88) |
| CIE-LCH | lch(74.84, 74.92, 108.92°) |
| OKLab | oklab(77.49% -0.0747 0.1528) |
| OKLCH | oklch(77.49% 0.17 116.1) |
| XYZ | xyz(37.6717, 48.0302, 8.5823) |
| Luminance | 0.4803 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 1.43
Baby Puke Green
#B6C406
ΔE00 1.57
Snot
#ACBB0D
ΔE00 1.88
Pea
#A4BF20
ΔE00 2.58
Gross Green
#A0BF16
ΔE00 3.20
Green Yellow
#B5CE08
ΔE00 3.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1C21F #301FC2
analogous
#C2821F #B1C21F #5FC21F
triadic
#B1C21F #1FB1C2 #C21FB1
tetradic
#B1C21F #1FC282 #301FC2 #C21F5F
square
#B1C21F #1FC282 #301FC2 #C21F5F
split-complementary
#B1C21F #1F5FC2 #821FC2
monochromatic
#51580E #818D17 #B1C21F #CFE03E #DCE973
Accessibility & contrast
On white
1.98
#B1C21F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.61
#B1C21F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1C21F
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1C21F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1C21F | 1.00 | 1.98 | 10.61 | 10.61 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#CFB931
Tritanopia (blue-blind)
#BDB6A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b1c21f; /* rgb */ color: rgb(177, 194, 31); /* oklch */ color: oklch(77.5% 0.170 116.1);
Tailwind
colors: {
custom: {
50: '#ccd46d',
500: '#b1c21f',
950: '#000000',
},
}SCSS
$custom: #b1c21f; $custom-light: #ccd46d; $custom-dark: #000000;
JSON
{
"hex": "#b1c21f",
"rgb": {
"r": 177,
"g": 194,
"b": 31
},
"hsl": {
"h": 66.258,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.77485,
"c": 0.17005,
"h": 116.1
},
"luminance": 0.4803
}Semantic roles & 50–950 ramp
primary
#B1C21F
secondary
#786DCF
accent
#39EF4C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B