#B1CA28#B1CA28
#B1CA28 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.3% C 0.175 H 118.6°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B1CA28 |
|---|---|
| RGB | rgb(177, 202, 40) |
| HSL | hsl(69, 67%, 47%) |
| HSV | hsv(69, 80%, 79%) |
| CMYK | cmyk(12.4%, 0%, 80.2%, 20.8%) |
| CIE-LAB | lab(77.13, -27.85, 70.61) |
| CIE-LCH | lch(77.13, 75.90, 111.53°) |
| OKLab | oklab(79.33% -0.0839 0.1537) |
| OKLCH | oklch(79.33% 0.175 118.6) |
| XYZ | xyz(39.6359, 51.7417, 9.9062) |
| Luminance | 0.5174 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.90
Pea
#A4BF20
ΔE00 3.03
Baby Puke Green
#B6C406
ΔE00 3.07
Bile
#B5C306
ΔE00 3.13
Gross Green
#A0BF16
ΔE00 3.37
Snot Green
#9DC100
ΔE00 3.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1CA28 #4128CA
analogous
#CA9228 #B1CA28 #60CA28
triadic
#B1CA28 #28B1CA #CA28B1
tetradic
#B1CA28 #28CA92 #4128CA #CA2860
square
#B1CA28 #28CA92 #4128CA #CA2860
split-complementary
#B1CA28 #2860CA #9228CA
monochromatic
#576414 #84971E #B1CA28 #C7DD52 #D8E785
Accessibility & contrast
On white
1.85
#B1CA28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.35
#B1CA28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1CA28
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1CA28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1CA28 | 1.00 | 1.85 | 11.35 | 11.35 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D5BF39
Tritanopia (blue-blind)
#BCBFAD
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #b1ca28; /* rgb */ color: rgb(177, 202, 40); /* oklch */ color: oklch(79.3% 0.175 118.6);
Tailwind
colors: {
custom: {
50: '#ccda71',
500: '#b1ca28',
950: '#000000',
},
}SCSS
$custom: #b1ca28; $custom-light: #ccda71; $custom-dark: #000000;
JSON
{
"hex": "#b1ca28",
"rgb": {
"r": 177,
"g": 202,
"b": 40
},
"hsl": {
"h": 69.259,
"s": 66.942,
"l": 47.451
},
"oklch": {
"l": 0.79332,
"c": 0.17508,
"h": 118.6
},
"luminance": 0.51741
}Semantic roles & 50–950 ramp
primary
#B1CA28
secondary
#33286E
accent
#3EEA58
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D