#B5C22D#B5C22D
#B5C22D is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.9% C 0.163 H 114.7°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #B5C22D |
|---|---|
| RGB | rgb(181, 194, 45) |
| HSL | hsl(65, 62%, 47%) |
| HSV | hsv(65, 77%, 76%) |
| CMYK | cmyk(6.7%, 0%, 76.8%, 23.9%) |
| CIE-LAB | lab(75.20, -22.12, 67.56) |
| CIE-LCH | lch(75.20, 71.09, 108.13°) |
| OKLab | oklab(77.86% -0.068 0.1479) |
| OKLCH | oklch(77.86% 0.163 114.7) |
| XYZ | xyz(38.8226, 48.5975, 9.8173) |
| Luminance | 0.4860 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 1.86
Baby Puke Green
#B6C406
ΔE00 1.96
Snot
#ACBB0D
ΔE00 2.30
Pea
#A4BF20
ΔE00 3.22
Mustard Green
#A8B504
ΔE00 3.70
Green Yellow
#B5CE08
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5C22D #3A2DC2
analogous
#C2852D #B5C22D #6BC22D
triadic
#B5C22D #2DB5C2 #C22DB5
tetradic
#B5C22D #2DC285 #3A2DC2 #C22D6B
square
#B5C22D #2DC285 #3A2DC2 #C22D6B
split-complementary
#B5C22D #2D6BC2 #852DC2
monochromatic
#585F16 #879021 #B5C22D #CCD755 #DBE386
Accessibility & contrast
On white
1.96
#B5C22D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.72
#B5C22D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5C22D
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5C22D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5C22D | 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)
#D0B800
Deuteranopia (green-blind)
#D0BA3B
Tritanopia (blue-blind)
#C1B6A6
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #b5c22d; /* rgb */ color: rgb(181, 194, 45); /* oklch */ color: oklch(77.9% 0.163 114.7);
Tailwind
colors: {
custom: {
50: '#cfd473',
500: '#b5c22d',
950: '#000000',
},
}SCSS
$custom: #b5c22d; $custom-light: #cfd473; $custom-dark: #000000;
JSON
{
"hex": "#b5c22d",
"rgb": {
"r": 181,
"g": 194,
"b": 45
},
"hsl": {
"h": 65.235,
"s": 62.343,
"l": 46.863
},
"oklch": {
"l": 0.77864,
"c": 0.16274,
"h": 114.7
},
"luminance": 0.48597
}Semantic roles & 50–950 ramp
primary
#B5C22D
secondary
#857ECD
accent
#42E551
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B