#B8C52E#B8C52E
#B8C52E is a light, vivid yellow. Relative luminance 0.503; OKLCH L 78.8% C 0.164 H 114.6°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B8C52E |
|---|---|
| RGB | rgb(184, 197, 46) |
| HSL | hsl(65, 62%, 48%) |
| HSV | hsv(65, 77%, 77%) |
| CMYK | cmyk(6.6%, 0%, 76.6%, 22.7%) |
| CIE-LAB | lab(76.27, -22.29, 68.31) |
| CIE-LCH | lch(76.27, 71.86, 108.07°) |
| OKLab | oklab(78.78% -0.0685 0.1495) |
| OKLCH | oklch(78.78% 0.164 114.6) |
| XYZ | xyz(40.2278, 50.3209, 10.1780) |
| Luminance | 0.5032 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.78
Bile
#B5C306
ΔE00 1.79
Snot
#ACBB0D
ΔE00 2.94
Green Yellow
#B5CE08
ΔE00 3.26
Pea
#A4BF20
ΔE00 3.66
Gross Green
#A0BF16
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8C52E #3B2EC5
analogous
#C5872E #B8C52E #6CC52E
triadic
#B8C52E #2EB8C5 #C52EB8
tetradic
#B8C52E #2EC587 #3B2EC5 #C52E6C
square
#B8C52E #2EC587 #3B2EC5 #C52E6C
split-complementary
#B8C52E #2E6CC5 #872EC5
monochromatic
#5B6217 #8A9322 #B8C52E #CDD858 #DCE48A
Accessibility & contrast
On white
1.90
#B8C52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.06
#B8C52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8C52E
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8C52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8C52E | 1.00 | 1.90 | 11.06 | 11.06 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D3BD3C
Tritanopia (blue-blind)
#C4B9A9
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #b8c52e; /* rgb */ color: rgb(184, 197, 46); /* oklch */ color: oklch(78.8% 0.164 114.6);
Tailwind
colors: {
custom: {
50: '#d1d673',
500: '#b8c52e',
950: '#000000',
},
}SCSS
$custom: #b8c52e; $custom-light: #d1d673; $custom-dark: #000000;
JSON
{
"hex": "#b8c52e",
"rgb": {
"r": 184,
"g": 197,
"b": 46
},
"hsl": {
"h": 65.166,
"s": 62.14,
"l": 47.647
},
"oklch": {
"l": 0.78776,
"c": 0.16449,
"h": 114.6
},
"luminance": 0.5032
}Semantic roles & 50–950 ramp
primary
#B8C52E
secondary
#302B6C
accent
#43E551
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D