#B1CA21#B1CA21
#B1CA21 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.3% C 0.178 H 118.5°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B1CA21 |
|---|---|
| RGB | rgb(177, 202, 33) |
| HSL | hsl(69, 72%, 46%) |
| HSV | hsv(69, 84%, 79%) |
| CMYK | cmyk(12.4%, 0%, 83.7%, 20.8%) |
| CIE-LAB | lab(77.10, -28.08, 72.33) |
| CIE-LCH | lch(77.10, 77.59, 111.22°) |
| OKLab | oklab(79.3% -0.085 0.1562) |
| OKLCH | oklch(79.3% 0.178 118.5) |
| XYZ | xyz(39.5275, 51.6983, 9.3350) |
| Luminance | 0.5170 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.55
Baby Puke Green
#B6C406
ΔE00 2.82
Bile
#B5C306
ΔE00 2.89
Pea
#A4BF20
ΔE00 3.12
Gross Green
#A0BF16
ΔE00 3.43
Snot Green
#9DC100
ΔE00 3.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1CA21 #3A21CA
analogous
#CA8E21 #B1CA21 #5CCA21
triadic
#B1CA21 #21B1CA #CA21B1
tetradic
#B1CA21 #21CA8E #3A21CA #CA215C
square
#B1CA21 #21CA8E #3A21CA #CA215C
split-complementary
#B1CA21 #215CCA #8E21CA
monochromatic
#556110 #839518 #B1CA21 #CAE147 #D9EA7C
Accessibility & contrast
On white
1.85
#B1CA21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.34
#B1CA21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1CA21
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1CA21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1CA21 | 1.00 | 1.85 | 11.34 | 11.34 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D5BF34
Tritanopia (blue-blind)
#BCBEAC
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #b1ca21; /* rgb */ color: rgb(177, 202, 33); /* oklch */ color: oklch(79.3% 0.178 118.5);
Tailwind
colors: {
custom: {
50: '#cdda6f',
500: '#b1ca21',
950: '#000000',
},
}SCSS
$custom: #b1ca21; $custom-light: #cdda6f; $custom-dark: #000000;
JSON
{
"hex": "#b1ca21",
"rgb": {
"r": 177,
"g": 202,
"b": 33
},
"hsl": {
"h": 68.876,
"s": 71.915,
"l": 46.078
},
"oklch": {
"l": 0.79303,
"c": 0.17784,
"h": 118.5
},
"luminance": 0.51698
}Semantic roles & 50–950 ramp
primary
#B1CA21
secondary
#2E246C
accent
#39EF54
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141408
muted
#83837D