#B2CA21#B2CA21
#B2CA21 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.4% C 0.177 H 118.2°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B2CA21 |
|---|---|
| RGB | rgb(178, 202, 33) |
| HSL | hsl(69, 72%, 46%) |
| HSV | hsv(69, 84%, 79%) |
| CMYK | cmyk(11.9%, 0%, 83.7%, 20.8%) |
| CIE-LAB | lab(77.17, -27.67, 72.42) |
| CIE-LCH | lch(77.17, 77.52, 110.91°) |
| OKLab | oklab(79.38% -0.0839 0.1564) |
| OKLCH | oklch(79.38% 0.177 118.2) |
| XYZ | xyz(39.7561, 51.8162, 9.3457) |
| Luminance | 0.5182 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.47
Baby Puke Green
#B6C406
ΔE00 2.65
Bile
#B5C306
ΔE00 2.74
Pea
#A4BF20
ΔE00 3.22
Gross Green
#A0BF16
ΔE00 3.55
Snot Green
#9DC100
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2CA21 #3921CA
analogous
#CA8D21 #B2CA21 #5DCA21
triadic
#B2CA21 #21B2CA #CA21B2
tetradic
#B2CA21 #21CA8D #3921CA #CA215D
square
#B2CA21 #21CA8D #3921CA #CA215D
split-complementary
#B2CA21 #215DCA #8D21CA
monochromatic
#556110 #849518 #B2CA21 #CBE147 #DAEA7C
Accessibility & contrast
On white
1.85
#B2CA21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.36
#B2CA21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2CA21
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2CA21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2CA21 | 1.00 | 1.85 | 11.36 | 11.36 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D5BF34
Tritanopia (blue-blind)
#BDBEAC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #b2ca21; /* rgb */ color: rgb(178, 202, 33); /* oklch */ color: oklch(79.4% 0.177 118.2);
Tailwind
colors: {
custom: {
50: '#cdda6f',
500: '#b2ca21',
950: '#000000',
},
}SCSS
$custom: #b2ca21; $custom-light: #cdda6f; $custom-dark: #000000;
JSON
{
"hex": "#b2ca21",
"rgb": {
"r": 178,
"g": 202,
"b": 33
},
"hsl": {
"h": 68.521,
"s": 71.915,
"l": 46.078
},
"oklch": {
"l": 0.79377,
"c": 0.17745,
"h": 118.2
},
"luminance": 0.51816
}Semantic roles & 50–950 ramp
primary
#B2CA21
secondary
#2E246C
accent
#39EF53
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141408
muted
#83837D