#5BB940#5BB940

#5BB940 is a light, vivid green. Relative luminance 0.373; OKLCH L 70.3% C 0.182 H 139.4°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#5BB940
RGBrgb(91, 185, 64)
HSLhsl(107, 49%, 49%)
HSVhsv(107, 65%, 73%)
CMYKcmyk(50.8%, 0%, 65.4%, 27.5%)
CIE-LABlab(67.49, -50.18, 51.21)
CIE-LCHlch(67.49, 71.70, 134.42°)
OKLaboklab(70.3% -0.1379 0.1182)
OKLCHoklch(70.3% 0.182 139.4)
XYZxyz(22.5879, 37.2906, 10.8570)
Luminance0.3729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BB940 #9E40B9
analogous
#98B940 #5BB940 #40B962
triadic
#5BB940 #405BB9 #B9405B
tetradic
#5BB940 #4098B9 #9E40B9 #B96240
square
#5BB940 #4098B9 #9E40B9 #B96240
split-complementary
#5BB940 #6240B9 #B94098
monochromatic
#2E5E21 #458C30 #5BB940 #80CC6B #A7DB98

Accessibility & contrast

On white

2.48
#5BB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#5BB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BB940
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BB940#FFFFFF#000000##000000
##5BB9401.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA931
Deuteranopia (green-blind)
#B2A14A
Tritanopia (blue-blind)
#52B3A0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #5bb940;
/* rgb */ color: rgb(91, 185, 64);
/* oklch */ color: oklch(70.3% 0.182 139.4);
Tailwind
colors: {
  custom: {
    50: '#91cf7a',
    500: '#5bb940',
    950: '#000000',
  },
}
SCSS
$custom: #5bb940;
$custom-light: #91cf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5bb940",
  "rgb": {
    "r": 91,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 106.612,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70299,
    "c": 0.18158,
    "h": 139.4
  },
  "luminance": 0.37292
}

Semantic roles & 50–950 ramp

primary
#5BB940
secondary
#BA8EC7
accent
#50D8BA
background
#F9FCF7
surface
#F2F9EE
border
#CCD2C9
text
#0E140A
muted
#7E827C

Preview Lab

Preview with #5BB940

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

Preview Lab → · Contrast checker → · Palette generator →

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