#B1C22D#B1C22D
#B1C22D is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.5% C 0.164 H 116.2°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B1C22D |
|---|---|
| RGB | rgb(177, 194, 45) |
| HSL | hsl(67, 62%, 47%) |
| HSV | hsv(67, 77%, 76%) |
| CMYK | cmyk(8.8%, 0%, 76.8%, 23.9%) |
| CIE-LAB | lab(74.90, -23.80, 67.18) |
| CIE-LCH | lch(74.90, 71.27, 109.51°) |
| OKLab | oklab(77.55% -0.0724 0.1472) |
| OKLCH | oklch(77.55% 0.164 116.2) |
| XYZ | xyz(37.8979, 48.1207, 9.7739) |
| Luminance | 0.4812 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.28
Snot
#ACBB0D
ΔE00 2.31
Pea
#A4BF20
ΔE00 2.37
Baby Puke Green
#B6C406
ΔE00 2.39
Gross Green
#A0BF16
ΔE00 3.10
Green Yellow
#B5CE08
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1C22D #3E2DC2
analogous
#C2892D #B1C22D #66C22D
triadic
#B1C22D #2DB1C2 #C22DB1
tetradic
#B1C22D #2DC289 #3E2DC2 #C22D66
square
#B1C22D #2DC289 #3E2DC2 #C22D66
split-complementary
#B1C22D #2D66C2 #892DC2
monochromatic
#565F16 #849021 #B1C22D #C9D755 #D8E386
Accessibility & contrast
On white
1.98
#B1C22D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.62
#B1C22D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1C22D
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1C22D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1C22D | 1.00 | 1.98 | 10.62 | 10.62 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#CEB93B
Tritanopia (blue-blind)
#BDB7A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b1c22d; /* rgb */ color: rgb(177, 194, 45); /* oklch */ color: oklch(77.5% 0.164 116.2);
Tailwind
colors: {
custom: {
50: '#ccd472',
500: '#b1c22d',
950: '#000000',
},
}SCSS
$custom: #b1c22d; $custom-light: #ccd472; $custom-dark: #000000;
JSON
{
"hex": "#b1c22d",
"rgb": {
"r": 177,
"g": 194,
"b": 45
},
"hsl": {
"h": 66.846,
"s": 62.343,
"l": 46.863
},
"oklch": {
"l": 0.77549,
"c": 0.16404,
"h": 116.2
},
"luminance": 0.4812
}Semantic roles & 50–950 ramp
primary
#B1C22D
secondary
#877ECD
accent
#42E555
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B