#5BB221#5BB221

#5BB221 is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 68.3% C 0.191 H 136.3°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#5BB221
RGBrgb(91, 178, 33)
HSLhsl(96, 69%, 41%)
HSVhsv(96, 81%, 70%)
CMYKcmyk(48.9%, 0%, 81.5%, 30.2%)
CIE-LABlab(65.10, -49.67, 59.88)
CIE-LCHlch(65.10, 77.80, 129.68°)
OKLaboklab(68.27% -0.1384 0.1321)
OKLCHoklch(68.27% 0.191 136.3)
XYZxyz(20.5087, 34.1733, 6.9540)
Luminance0.3417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BB221 #7821B2
analogous
#A4B221 #5BB221 #21B230
triadic
#5BB221 #215BB2 #B2215B
tetradic
#5BB221 #21A4B2 #7821B2 #B23021
square
#5BB221 #21A4B2 #7821B2 #B23021
split-complementary
#5BB221 #3021B2 #B221A4
monochromatic
#264B0E #417E17 #5BB221 #78DA36 #9BE36A

Accessibility & contrast

On white

2.68
#5BB221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#5BB221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BB221
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BB221#FFFFFF#000000##000000
##5BB2211.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#AD9B33
Tritanopia (blue-blind)
#57AB98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5bb221;
/* rgb */ color: rgb(91, 178, 33);
/* oklch */ color: oklch(68.3% 0.191 136.3);
Tailwind
colors: {
  custom: {
    50: '#92ca6a',
    500: '#5bb221',
    950: '#000000',
  },
}
SCSS
$custom: #5bb221;
$custom-light: #92ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5bb221",
  "rgb": {
    "r": 91,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 96,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68266,
    "c": 0.19135,
    "h": 136.3
  },
  "luminance": 0.34175
}

Semantic roles & 50–950 ramp

primary
#5BB221
secondary
#A166C9
accent
#3CECA5
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BB221

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

Preview Lab → · Contrast checker → · Palette generator →

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