#B2C22F#B2C22F
#B2C22F is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.6% C 0.163 H 115.8°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).
Color values
| HEX | #B2C22F |
|---|---|
| RGB | rgb(178, 194, 47) |
| HSL | hsl(67, 61%, 47%) |
| HSV | hsv(67, 76%, 76%) |
| CMYK | cmyk(8.2%, 0%, 75.8%, 23.9%) |
| CIE-LAB | lab(74.99, -23.30, 66.66) |
| CIE-LCH | lch(74.99, 70.61, 109.27°) |
| OKLab | oklab(77.64% -0.0709 0.1464) |
| OKLCH | oklch(77.64% 0.163 115.8) |
| XYZ | xyz(38.1660, 48.2544, 9.9922) |
| Luminance | 0.4825 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.30
Snot
#ACBB0D
ΔE00 2.37
Baby Puke Green
#B6C406
ΔE00 2.40
Pea
#A4BF20
ΔE00 2.57
Gross Green
#A0BF16
ΔE00 3.31
Green Yellow
#B5CE08
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2C22F #3F2FC2
analogous
#C2892F #B2C22F #68C22F
triadic
#B2C22F #2FB2C2 #C22FB2
tetradic
#B2C22F #2FC289 #3F2FC2 #C22F68
square
#B2C22F #2FC289 #3F2FC2 #C22F68
split-complementary
#B2C22F #2F68C2 #892FC2
monochromatic
#585F17 #859123 #B2C22F #C9D658 #D9E289
Accessibility & contrast
On white
1.97
#B2C22F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.65
#B2C22F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2C22F
10.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2C22F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2C22F | 1.00 | 1.97 | 10.65 | 10.65 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B807
Deuteranopia (green-blind)
#CFBA3C
Tritanopia (blue-blind)
#BEB7A6
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #b2c22f; /* rgb */ color: rgb(178, 194, 47); /* oklch */ color: oklch(77.6% 0.163 115.8);
Tailwind
colors: {
custom: {
50: '#cdd473',
500: '#b2c22f',
950: '#000000',
},
}SCSS
$custom: #b2c22f; $custom-light: #cdd473; $custom-dark: #000000;
JSON
{
"hex": "#b2c22f",
"rgb": {
"r": 178,
"g": 194,
"b": 47
},
"hsl": {
"h": 66.531,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.77638,
"c": 0.16268,
"h": 115.8
},
"luminance": 0.48254
}Semantic roles & 50–950 ramp
primary
#B2C22F
secondary
#8981CC
accent
#44E455
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B