#5BB22B#5BB22B

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

Color values

HEX#5BB22B
RGBrgb(91, 178, 43)
HSLhsl(99, 61%, 43%)
HSVhsv(99, 76%, 70%)
CMYKcmyk(48.9%, 0%, 75.8%, 30.2%)
CIE-LABlab(65.15, -49.11, 56.84)
CIE-LCHlch(65.15, 75.11, 130.83°)
OKLaboklab(68.32% -0.1363 0.1272)
OKLCHoklch(68.32% 0.186 137)
XYZxyz(20.6702, 34.2379, 7.8044)
Luminance0.3424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BB22B #822BB2
analogous
#9EB22B #5BB22B #2BB23F
triadic
#5BB22B #2B5BB2 #B22B5B
tetradic
#5BB22B #2B9EB2 #822BB2 #B23F2B
square
#5BB22B #2B9EB2 #822BB2 #B23F2B
split-complementary
#5BB22B #3F2BB2 #B22B9E
monochromatic
#294F13 #42811F #5BB22B #79D348 #9DDF79

Accessibility & contrast

On white

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

On black

7.85
#5BB22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BB22B
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BB22B#FFFFFF#000000##000000
##5BB22B1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A30C
Deuteranopia (green-blind)
#AD9B39
Tritanopia (blue-blind)
#56AB98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5bb22b;
/* rgb */ color: rgb(91, 178, 43);
/* oklch */ color: oklch(68.3% 0.186 137.0);
Tailwind
colors: {
  custom: {
    50: '#91ca6e',
    500: '#5bb22b',
    950: '#000000',
  },
}
SCSS
$custom: #5bb22b;
$custom-light: #91ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5bb22b",
  "rgb": {
    "r": 91,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 98.667,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68324,
    "c": 0.18644,
    "h": 137
  },
  "luminance": 0.34239
}

Semantic roles & 50–950 ramp

primary
#5BB22B
secondary
#A972C7
accent
#44E4AB
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5BB22B

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

Preview Lab → · Contrast checker → · Palette generator →

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