#B4C22F#B4C22F
#B4C22F is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.8% C 0.162 H 115.1°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B4C22F |
|---|---|
| RGB | rgb(180, 194, 47) |
| HSL | hsl(66, 61%, 47%) |
| HSV | hsv(66, 76%, 76%) |
| CMYK | cmyk(7.2%, 0%, 75.8%, 23.9%) |
| CIE-LAB | lab(75.13, -22.46, 66.85) |
| CIE-LCH | lch(75.13, 70.52, 108.57°) |
| OKLab | oklab(77.8% -0.0687 0.1468) |
| OKLCH | oklch(77.8% 0.162 115.1) |
| XYZ | xyz(38.6284, 48.4928, 10.0139) |
| Luminance | 0.4849 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.09
Baby Puke Green
#B6C406
ΔE00 2.19
Snot
#ACBB0D
ΔE00 2.35
Pea
#A4BF20
ΔE00 2.99
Gross Green
#A0BF16
ΔE00 3.72
Mustard Green
#A8B504
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C22F #3D2FC2
analogous
#C2862F #B4C22F #6BC22F
triadic
#B4C22F #2FB4C2 #C22FB4
tetradic
#B4C22F #2FC286 #3D2FC2 #C22F6B
square
#B4C22F #2FC286 #3D2FC2 #C22F6B
split-complementary
#B4C22F #2F6BC2 #862FC2
monochromatic
#595F17 #869123 #B4C22F #CAD658 #DAE289
Accessibility & contrast
On white
1.96
#B4C22F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.70
#B4C22F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C22F
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C22F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C22F | 1.00 | 1.96 | 10.70 | 10.70 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B807
Deuteranopia (green-blind)
#CFBA3C
Tritanopia (blue-blind)
#C0B6A6
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #b4c22f; /* rgb */ color: rgb(180, 194, 47); /* oklch */ color: oklch(77.8% 0.162 115.1);
Tailwind
colors: {
custom: {
50: '#ced473',
500: '#b4c22f',
950: '#000000',
},
}SCSS
$custom: #b4c22f; $custom-light: #ced473; $custom-dark: #000000;
JSON
{
"hex": "#b4c22f",
"rgb": {
"r": 180,
"g": 194,
"b": 47
},
"hsl": {
"h": 65.714,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.77796,
"c": 0.16203,
"h": 115.1
},
"luminance": 0.48492
}Semantic roles & 50–950 ramp
primary
#B4C22F
secondary
#8881CC
accent
#44E453
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B