#5BB242#5BB242

#5BB242 is a light, vivid green. Relative luminance 0.345; OKLCH L 68.5% C 0.171 H 139.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5BB242
RGBrgb(91, 178, 66)
HSLhsl(107, 46%, 48%)
HSVhsv(107, 63%, 70%)
CMYKcmyk(48.9%, 0%, 62.9%, 30.2%)
CIE-LABlab(65.32, -47.22, 47.96)
CIE-LCHlch(65.32, 67.31, 134.56°)
OKLaboklab(68.52% -0.1297 0.1115)
OKLCHoklch(68.52% 0.171 139.3)
XYZxyz(21.2173, 34.4568, 10.6860)
Luminance0.3446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BB242 #9942B2
analogous
#93B242 #5BB242 #42B261
triadic
#5BB242 #425BB2 #B2425B
tetradic
#5BB242 #4293B2 #9942B2 #B26142
square
#5BB242 #4293B2 #9942B2 #B26142
split-complementary
#5BB242 #6142B2 #B24293
monochromatic
#2D5921 #448531 #5BB242 #7FC86A #A5D896

Accessibility & contrast

On white

2.66
#5BB242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#5BB242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BB242
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BB242#FFFFFF#000000##000000
##5BB2421.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A335
Deuteranopia (green-blind)
#AB9C4B
Tritanopia (blue-blind)
#53AC9A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5bb242;
/* rgb */ color: rgb(91, 178, 66);
/* oklch */ color: oklch(68.5% 0.171 139.3);
Tailwind
colors: {
  custom: {
    50: '#90ca7b',
    500: '#5bb242',
    950: '#000000',
  },
}
SCSS
$custom: #5bb242;
$custom-light: #90ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#5bb242",
  "rgb": {
    "r": 91,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 106.607,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68521,
    "c": 0.17103,
    "h": 139.3
  },
  "luminance": 0.34458
}

Semantic roles & 50–950 ramp

primary
#5BB242
secondary
#B78CC4
accent
#52D6B8
background
#F9FCF7
surface
#F2F8EE
border
#CCD1C9
text
#0D130A
muted
#7E827C

Preview Lab

Preview with #5BB242

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

Preview Lab → · Contrast checker → · Palette generator →

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