#B8CA28#B8CA28
#B8CA28 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 79.9% C 0.173 H 116.2°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B8CA28 |
|---|---|
| RGB | rgb(184, 202, 40) |
| HSL | hsl(67, 67%, 47%) |
| HSV | hsv(67, 80%, 79%) |
| CMYK | cmyk(8.9%, 0%, 80.2%, 20.8%) |
| CIE-LAB | lab(77.63, -24.95, 71.25) |
| CIE-LCH | lch(77.63, 75.49, 109.30°) |
| OKLab | oklab(79.86% -0.0763 0.1548) |
| OKLCH | oklch(79.86% 0.173 116.2) |
| XYZ | xyz(41.2719, 52.5852, 9.9829) |
| Luminance | 0.5259 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.83
Baby Puke Green
#B6C406
ΔE00 2.08
Bile
#B5C306
ΔE00 2.22
Pea
#A4BF20
ΔE00 3.87
Snot
#ACBB0D
ΔE00 3.88
Gross Green
#A0BF16
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8CA28 #3A28CA
analogous
#CA8B28 #B8CA28 #67CA28
triadic
#B8CA28 #28B8CA #CA28B8
tetradic
#B8CA28 #28CA8B #3A28CA #CA2867
square
#B8CA28 #28CA8B #3A28CA #CA2867
split-complementary
#B8CA28 #2867CA #8B28CA
monochromatic
#5B6414 #89971E #B8CA28 #CDDD52 #DCE785
Accessibility & contrast
On white
1.82
#B8CA28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.52
#B8CA28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8CA28
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8CA28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8CA28 | 1.00 | 1.82 | 11.52 | 11.52 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#D7C139
Tritanopia (blue-blind)
#C4BEAD
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b8ca28; /* rgb */ color: rgb(184, 202, 40); /* oklch */ color: oklch(79.9% 0.173 116.2);
Tailwind
colors: {
custom: {
50: '#d1da72',
500: '#b8ca28',
950: '#000000',
},
}SCSS
$custom: #b8ca28; $custom-light: #d1da72; $custom-dark: #000000;
JSON
{
"hex": "#b8ca28",
"rgb": {
"r": 184,
"g": 202,
"b": 40
},
"hsl": {
"h": 66.667,
"s": 66.942,
"l": 47.451
},
"oklch": {
"l": 0.79863,
"c": 0.17255,
"h": 116.2
},
"luminance": 0.52585
}Semantic roles & 50–950 ramp
primary
#B8CA28
secondary
#30286E
accent
#3EEA51
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D