#B8C22D#B8C22D
#B8C22D is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.1% C 0.162 H 113.5°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B8C22D |
|---|---|
| RGB | rgb(184, 194, 45) |
| HSL | hsl(64, 62%, 47%) |
| HSV | hsv(64, 77%, 76%) |
| CMYK | cmyk(5.2%, 0%, 76.8%, 23.9%) |
| CIE-LAB | lab(75.43, -20.86, 67.85) |
| CIE-LCH | lch(75.43, 70.99, 107.09°) |
| OKLab | oklab(78.1% -0.0646 0.1484) |
| OKLCH | oklch(78.1% 0.162 113.5) |
| XYZ | xyz(39.5339, 48.9642, 9.8506) |
| Luminance | 0.4896 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 1.82
Baby Puke Green
#B6C406
ΔE00 1.89
Snot
#ACBB0D
ΔE00 2.53
Mustard Green
#A8B504
ΔE00 3.83
Pea
#A4BF20
ΔE00 3.89
Puke Yellow
#C2BE0E
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8C22D #372DC2
analogous
#C2822D #B8C22D #6EC22D
triadic
#B8C22D #2DB8C2 #C22DB8
tetradic
#B8C22D #2DC282 #372DC2 #C22D6E
square
#B8C22D #2DC282 #372DC2 #C22D6E
split-complementary
#B8C22D #2D6EC2 #822DC2
monochromatic
#5A5F16 #899021 #B8C22D #CFD755 #DDE386
Accessibility & contrast
On white
1.95
#B8C22D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.79
#B8C22D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8C22D
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8C22D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8C22D | 1.00 | 1.95 | 10.79 | 10.79 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1B800
Deuteranopia (green-blind)
#D1BB3A
Tritanopia (blue-blind)
#C5B6A6
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #b8c22d; /* rgb */ color: rgb(184, 194, 45); /* oklch */ color: oklch(78.1% 0.162 113.5);
Tailwind
colors: {
custom: {
50: '#d1d473',
500: '#b8c22d',
950: '#000000',
},
}SCSS
$custom: #b8c22d; $custom-light: #d1d473; $custom-dark: #000000;
JSON
{
"hex": "#b8c22d",
"rgb": {
"r": 184,
"g": 194,
"b": 45
},
"hsl": {
"h": 64.027,
"s": 62.343,
"l": 46.863
},
"oklch": {
"l": 0.78104,
"c": 0.16185,
"h": 113.5
},
"luminance": 0.48963
}Semantic roles & 50–950 ramp
primary
#B8C22D
secondary
#847ECD
accent
#42E54D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B