#B5C22E#B5C22E
#B5C22E is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.9% C 0.162 H 114.7°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #B5C22E |
|---|---|
| RGB | rgb(181, 194, 46) |
| HSL | hsl(65, 62%, 47%) |
| HSV | hsv(65, 76%, 76%) |
| CMYK | cmyk(6.7%, 0%, 76.3%, 23.9%) |
| CIE-LAB | lab(75.21, -22.08, 67.26) |
| CIE-LCH | lch(75.21, 70.79, 108.18°) |
| OKLab | oklab(77.87% -0.0678 0.1474) |
| OKLCH | oklch(77.87% 0.162 114.7) |
| XYZ | xyz(38.8421, 48.6053, 9.9199) |
| Luminance | 0.4860 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 1.94
Baby Puke Green
#B6C406
ΔE00 2.04
Snot
#ACBB0D
ΔE00 2.34
Pea
#A4BF20
ΔE00 3.21
Mustard Green
#A8B504
ΔE00 3.73
Green Yellow
#B5CE08
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5C22E #3B2EC2
analogous
#C2852E #B5C22E #6BC22E
triadic
#B5C22E #2EB5C2 #C22EB5
tetradic
#B5C22E #2EC285 #3B2EC2 #C22E6B
square
#B5C22E #2EC285 #3B2EC2 #C22E6B
split-complementary
#B5C22E #2E6BC2 #852EC2
monochromatic
#595F17 #879122 #B5C22E #CCD756 #DBE388
Accessibility & contrast
On white
1.96
#B5C22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.72
#B5C22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5C22E
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5C22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5C22E | 1.00 | 1.96 | 10.72 | 10.72 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B803
Deuteranopia (green-blind)
#D0BA3B
Tritanopia (blue-blind)
#C1B6A6
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #b5c22e; /* rgb */ color: rgb(181, 194, 46); /* oklch */ color: oklch(77.9% 0.162 114.7);
Tailwind
colors: {
custom: {
50: '#cfd473',
500: '#b5c22e',
950: '#000000',
},
}SCSS
$custom: #b5c22e; $custom-light: #cfd473; $custom-dark: #000000;
JSON
{
"hex": "#b5c22e",
"rgb": {
"r": 181,
"g": 194,
"b": 46
},
"hsl": {
"h": 65.27,
"s": 61.667,
"l": 47.059
},
"oklch": {
"l": 0.77869,
"c": 0.16224,
"h": 114.7
},
"luminance": 0.48605
}Semantic roles & 50–950 ramp
primary
#B5C22E
secondary
#867FCC
accent
#43E551
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B