#B7C22E#B7C22E
#B7C22E is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.0% C 0.162 H 113.9°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B7C22E |
|---|---|
| RGB | rgb(183, 194, 46) |
| HSL | hsl(64, 62%, 47%) |
| HSV | hsv(64, 76%, 76%) |
| CMYK | cmyk(5.7%, 0%, 76.3%, 23.9%) |
| CIE-LAB | lab(75.36, -21.24, 67.45) |
| CIE-LCH | lch(75.36, 70.72, 107.48°) |
| OKLab | oklab(78.03% -0.0655 0.1478) |
| OKLCH | oklch(78.03% 0.162 113.9) |
| XYZ | xyz(39.3146, 48.8489, 9.9420) |
| Luminance | 0.4885 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 1.87
Baby Puke Green
#B6C406
ΔE00 1.96
Snot
#ACBB0D
ΔE00 2.46
Pea
#A4BF20
ΔE00 3.66
Mustard Green
#A8B504
ΔE00 3.80
Green Yellow
#B5CE08
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7C22E #392EC2
analogous
#C2832E #B7C22E #6DC22E
triadic
#B7C22E #2EB7C2 #C22EB7
tetradic
#B7C22E #2EC283 #392EC2 #C22E6D
square
#B7C22E #2EC283 #392EC2 #C22E6D
split-complementary
#B7C22E #2E6DC2 #832EC2
monochromatic
#5A5F17 #889122 #B7C22E #CDD756 #DCE388
Accessibility & contrast
On white
1.95
#B7C22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.77
#B7C22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7C22E
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7C22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7C22E | 1.00 | 1.95 | 10.77 | 10.77 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1B803
Deuteranopia (green-blind)
#D0BB3B
Tritanopia (blue-blind)
#C3B6A6
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #b7c22e; /* rgb */ color: rgb(183, 194, 46); /* oklch */ color: oklch(78.0% 0.162 113.9);
Tailwind
colors: {
custom: {
50: '#d0d473',
500: '#b7c22e',
950: '#000000',
},
}SCSS
$custom: #b7c22e; $custom-light: #d0d473; $custom-dark: #000000;
JSON
{
"hex": "#b7c22e",
"rgb": {
"r": 183,
"g": 194,
"b": 46
},
"hsl": {
"h": 64.459,
"s": 61.667,
"l": 47.059
},
"oklch": {
"l": 0.78029,
"c": 0.16164,
"h": 113.9
},
"luminance": 0.48848
}Semantic roles & 50–950 ramp
primary
#B7C22E
secondary
#857FCC
accent
#43E54F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B