#5BCA21#5BCA21

#5BCA21 is a light, highly saturated yellow-green. Relative luminance 0.446; OKLCH L 74.5% C 0.219 H 138.0°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#5BCA21
RGBrgb(91, 202, 33)
HSLhsl(99, 72%, 46%)
HSVhsv(99, 84%, 79%)
CMYKcmyk(55%, 0%, 83.7%, 20.8%)
CIE-LABlab(72.61, -58.58, 66.68)
CIE-LCHlch(72.61, 88.75, 131.30°)
OKLaboklab(74.46% -0.1623 0.1464)
OKLCHoklch(74.46% 0.219 138)
XYZxyz(25.7085, 44.5729, 8.6872)
Luminance0.4457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BCA21 #9021CA
analogous
#AFCA21 #5BCA21 #21CA3B
triadic
#5BCA21 #215BCA #CA215B
tetradic
#5BCA21 #21AFCA #9021CA #CA3B21
square
#5BCA21 #21AFCA #9021CA #CA3B21
split-complementary
#5BCA21 #3B21CA #CA21AF
monochromatic
#2C6110 #439518 #5BCA21 #7CE147 #A1EA7C

Accessibility & contrast

On white

2.12
#5BCA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#5BCA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BCA21
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BCA21#FFFFFF#000000##000000
##5BCA211.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B800
Deuteranopia (green-blind)
#C3AF37
Tritanopia (blue-blind)
#51C3AC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #5bca21;
/* rgb */ color: rgb(91, 202, 33);
/* oklch */ color: oklch(74.5% 0.219 138.0);
Tailwind
colors: {
  custom: {
    50: '#95db6d',
    500: '#5bca21',
    950: '#000000',
  },
}
SCSS
$custom: #5bca21;
$custom-light: #95db6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5bca21",
  "rgb": {
    "r": 91,
    "g": 202,
    "b": 33
  },
  "hsl": {
    "h": 99.408,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74456,
    "c": 0.21857,
    "h": 138
  },
  "luminance": 0.44575
}

Semantic roles & 50–950 ramp

primary
#5BCA21
secondary
#B275D2
accent
#39EFB0
background
#F9FDF7
surface
#F2FBED
border
#CCD4C8
text
#0E1508
muted
#7E837B

Preview Lab

Preview with #5BCA21

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5BCA21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva