#5BB42A#5BB42A

#5BB42A is a light, vivid yellow-green. Relative luminance 0.350; OKLCH L 68.8% C 0.189 H 137.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5BB42A
RGBrgb(91, 180, 42)
HSLhsl(99, 62%, 44%)
HSVhsv(99, 77%, 71%)
CMYKcmyk(49.4%, 0%, 76.7%, 29.4%)
CIE-LABlab(65.77, -49.95, 57.78)
CIE-LCHlch(65.77, 76.37, 130.84°)
OKLaboklab(68.84% -0.1387 0.129)
OKLCHoklch(68.84% 0.189 137.1)
XYZxyz(21.0529, 35.0324, 7.8426)
Luminance0.3503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BB42A #832AB4
analogous
#A0B42A #5BB42A #2AB43E
triadic
#5BB42A #2A5BB4 #B42A5B
tetradic
#5BB42A #2AA0B4 #832AB4 #B43E2A
square
#5BB42A #2AA0B4 #832AB4 #B43E2A
split-complementary
#5BB42A #3E2AB4 #B42AA0
monochromatic
#295113 #42821E #5BB42A #79D447 #9DE079

Accessibility & contrast

On white

2.62
#5BB42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#5BB42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BB42A
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BB42A#FFFFFF#000000##000000
##5BB42A1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA407
Deuteranopia (green-blind)
#AE9D39
Tritanopia (blue-blind)
#56AD9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5bb42a;
/* rgb */ color: rgb(91, 180, 42);
/* oklch */ color: oklch(68.8% 0.189 137.1);
Tailwind
colors: {
  custom: {
    50: '#92cb6e',
    500: '#5bb42a',
    950: '#000000',
  },
}
SCSS
$custom: #5bb42a;
$custom-light: #92cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5bb42a",
  "rgb": {
    "r": 91,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 98.696,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68835,
    "c": 0.18939,
    "h": 137.1
  },
  "luminance": 0.35034
}

Semantic roles & 50–950 ramp

primary
#5BB42A
secondary
#A972C8
accent
#43E5AB
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5BB42A

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

Preview Lab → · Contrast checker → · Palette generator →

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