#5BB12A#5BB12A

#5BB12A is a light, vivid yellow-green. Relative luminance 0.338; OKLCH L 68.1% C 0.186 H 136.8°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5BB12A
RGBrgb(91, 177, 42)
HSLhsl(98, 62%, 43%)
HSVhsv(98, 76%, 69%)
CMYKcmyk(48.6%, 0%, 76.3%, 30.6%)
CIE-LABlab(64.83, -48.78, 56.86)
CIE-LCHlch(64.83, 74.92, 130.63°)
OKLaboklab(68.06% -0.1355 0.1271)
OKLCHoklch(68.06% 0.186 136.8)
XYZxyz(20.4538, 33.8342, 7.6429)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BB12A #802AB1
analogous
#9EB12A #5BB12A #2AB13C
triadic
#5BB12A #2A5BB1 #B12A5B
tetradic
#5BB12A #2A9EB1 #802AB1 #B13C2A
square
#5BB12A #2A9EB1 #802AB1 #B13C2A
split-complementary
#5BB12A #3C2AB1 #B12A9E
monochromatic
#284E13 #42801E #5BB12A #79D345 #9CDF77

Accessibility & contrast

On white

2.70
#5BB12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#5BB12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BB12A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BB12A#FFFFFF#000000##000000
##5BB12A1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A209
Deuteranopia (green-blind)
#AC9B38
Tritanopia (blue-blind)
#56AA97
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5bb12a;
/* rgb */ color: rgb(91, 177, 42);
/* oklch */ color: oklch(68.1% 0.186 136.8);
Tailwind
colors: {
  custom: {
    50: '#91c96e',
    500: '#5bb12a',
    950: '#000000',
  },
}
SCSS
$custom: #5bb12a;
$custom-light: #91c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#5bb12a",
  "rgb": {
    "r": 91,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 98.222,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68059,
    "c": 0.18579,
    "h": 136.8
  },
  "luminance": 0.33836
}

Semantic roles & 50–950 ramp

primary
#5BB12A
secondary
#A770C6
accent
#43E5AA
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5BB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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