#5BB22A#5BB22A

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

Color values

HEX#5BB22A
RGBrgb(91, 178, 42)
HSLhsl(98, 62%, 43%)
HSVhsv(98, 76%, 70%)
CMYKcmyk(48.9%, 0%, 76.4%, 30.2%)
CIE-LABlab(65.15, -49.17, 57.17)
CIE-LCHlch(65.15, 75.40, 130.70°)
OKLaboklab(68.32% -0.1366 0.1277)
OKLCHoklch(68.32% 0.187 136.9)
XYZxyz(20.6521, 34.2307, 7.7090)
Luminance0.3423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BB22A #812AB2
analogous
#9FB22A #5BB22A #2AB23D
triadic
#5BB22A #2A5BB2 #B22A5B
tetradic
#5BB22A #2A9FB2 #812AB2 #B23D2A
square
#5BB22A #2A9FB2 #812AB2 #B23D2A
split-complementary
#5BB22A #3D2AB2 #B22A9F
monochromatic
#284F13 #42801E #5BB22A #79D346 #9DDF77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BB22A#FFFFFF#000000##000000
##5BB22A1.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)
#B8A308
Deuteranopia (green-blind)
#AD9B39
Tritanopia (blue-blind)
#56AB98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5bb22a;
/* rgb */ color: rgb(91, 178, 42);
/* oklch */ color: oklch(68.3% 0.187 136.9);
Tailwind
colors: {
  custom: {
    50: '#92ca6e',
    500: '#5bb22a',
    950: '#000000',
  },
}
SCSS
$custom: #5bb22a;
$custom-light: #92ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5bb22a",
  "rgb": {
    "r": 91,
    "g": 178,
    "b": 42
  },
  "hsl": {
    "h": 98.382,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.68318,
    "c": 0.18699,
    "h": 136.9
  },
  "luminance": 0.34232
}

Semantic roles & 50–950 ramp

primary
#5BB22A
secondary
#A871C7
accent
#43E5AB
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5BB22A

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

Preview Lab → · Contrast checker → · Palette generator →

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