#B8C52A#B8C52A
#B8C52A is a light, vivid yellow. Relative luminance 0.503; OKLCH L 78.8% C 0.166 H 114.6°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B8C52A |
|---|---|
| RGB | rgb(184, 197, 42) |
| HSL | hsl(65, 65%, 47%) |
| HSV | hsv(65, 79%, 77%) |
| CMYK | cmyk(6.6%, 0%, 78.7%, 22.7%) |
| CIE-LAB | lab(76.25, -22.45, 69.47) |
| CIE-LCH | lch(76.25, 73.01, 107.91°) |
| OKLab | oklab(78.76% -0.0693 0.1513) |
| OKLCH | oklch(78.76% 0.166 114.6) |
| XYZ | xyz(40.1526, 50.2908, 9.7820) |
| Luminance | 0.5029 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.50
Bile
#B5C306
ΔE00 1.52
Snot
#ACBB0D
ΔE00 2.86
Green Yellow
#B5CE08
ΔE00 3.14
Pea
#A4BF20
ΔE00 3.71
Mustard Green
#A8B504
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8C52A #372AC5
analogous
#C5852A #B8C52A #6BC52A
triadic
#B8C52A #2AB8C5 #C52AB8
tetradic
#B8C52A #2AC585 #372AC5 #C52A6B
square
#B8C52A #2AC585 #372AC5 #C52A6B
split-complementary
#B8C52A #2A6BC5 #852AC5
monochromatic
#5A6014 #89931F #B8C52A #CFDA52 #DDE585
Accessibility & contrast
On white
1.90
#B8C52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.06
#B8C52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8C52A
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8C52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8C52A | 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)
#D3BD39
Tritanopia (blue-blind)
#C4B9A9
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #b8c52a; /* rgb */ color: rgb(184, 197, 42); /* oklch */ color: oklch(78.8% 0.166 114.6);
Tailwind
colors: {
custom: {
50: '#d1d672',
500: '#b8c52a',
950: '#000000',
},
}SCSS
$custom: #b8c52a; $custom-light: #d1d672; $custom-dark: #000000;
JSON
{
"hex": "#b8c52a",
"rgb": {
"r": 184,
"g": 197,
"b": 42
},
"hsl": {
"h": 65.032,
"s": 64.854,
"l": 46.863
},
"oklch": {
"l": 0.78756,
"c": 0.1664,
"h": 114.6
},
"luminance": 0.5029
}Semantic roles & 50–950 ramp
primary
#B8C52A
secondary
#2E286B
accent
#40E84E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D