#5BBB21#5BBB21

#5BBB21 is a light, highly saturated yellow-green. Relative luminance 0.379; OKLCH L 70.6% C 0.202 H 137.0°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#5BBB21
RGBrgb(91, 187, 33)
HSLhsl(97, 70%, 43%)
HSVhsv(97, 82%, 73%)
CMYKcmyk(51.3%, 0%, 82.4%, 26.7%)
CIE-LABlab(67.93, -53.10, 62.46)
CIE-LCHlch(67.93, 81.98, 130.37°)
OKLaboklab(70.59% -0.1476 0.1375)
OKLCHoklch(70.59% 0.202 137)
XYZxyz(22.3585, 37.8729, 7.5706)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BBB21 #8121BB
analogous
#A8BB21 #5BBB21 #21BB34
triadic
#5BBB21 #215BBB #BB215B
tetradic
#5BBB21 #21A8BB #8121BB #BB3421
square
#5BBB21 #21A8BB #8121BB #BB3421
split-complementary
#5BBB21 #3421BB #BB21A8
monochromatic
#28530F #428718 #5BBB21 #79DD3D #9DE671

Accessibility & contrast

On white

2.45
#5BBB21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#5BBB21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BBB21
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BBB21#FFFFFF#000000##000000
##5BBB211.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#B5A334
Tritanopia (blue-blind)
#55B49F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #5bbb21;
/* rgb */ color: rgb(91, 187, 33);
/* oklch */ color: oklch(70.6% 0.202 137.0);
Tailwind
colors: {
  custom: {
    50: '#93d06b',
    500: '#5bbb21',
    950: '#000000',
  },
}
SCSS
$custom: #5bbb21;
$custom-light: #93d06b;
$custom-dark: #000000;
JSON
{
  "hex": "#5bbb21",
  "rgb": {
    "r": 91,
    "g": 187,
    "b": 33
  },
  "hsl": {
    "h": 97.403,
    "s": 70,
    "l": 43.137
  },
  "oklch": {
    "l": 0.70593,
    "c": 0.20175,
    "h": 137
  },
  "luminance": 0.37875
}

Semantic roles & 50–950 ramp

primary
#5BBB21
secondary
#A86BCC
accent
#3BEDAA
background
#F9FCF6
surface
#F2F9EC
border
#CCD2C7
text
#0E1407
muted
#7E827A

Preview Lab

Preview with #5BBB21

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

Preview Lab → · Contrast checker → · Palette generator →

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