#5BAA42#5BAA42

#5BAA42 is a light, vivid green. Relative luminance 0.314; OKLCH L 66.5% C 0.160 H 138.9°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5BAA42
RGBrgb(91, 170, 66)
HSLhsl(106, 44%, 46%)
HSVhsv(106, 61%, 67%)
CMYKcmyk(46.5%, 0%, 61.2%, 33.3%)
CIE-LABlab(62.82, -43.96, 45.14)
CIE-LCHlch(62.82, 63.01, 134.24°)
OKLaboklab(66.46% -0.1208 0.1055)
OKLCHoklch(66.46% 0.16 138.9)
XYZxyz(19.6718, 31.3656, 10.1708)
Luminance0.3137 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAA42 #9142AA
analogous
#8FAA42 #5BAA42 #42AA5D
triadic
#5BAA42 #425BAA #AA425B
tetradic
#5BAA42 #428FAA #9142AA #AA5D42
square
#5BAA42 #428FAA #9142AA #AA5D42
split-complementary
#5BAA42 #5D42AA #AA428F
monochromatic
#2C5220 #437E31 #5BAA42 #7CC366 #A2D592

Accessibility & contrast

On white

2.89
#5BAA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#5BAA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAA42
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAA42#FFFFFF#000000##000000
##5BAA421.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C37
Deuteranopia (green-blind)
#A4954A
Tritanopia (blue-blind)
#55A594
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5baa42;
/* rgb */ color: rgb(91, 170, 66);
/* oklch */ color: oklch(66.5% 0.160 138.9);
Tailwind
colors: {
  custom: {
    50: '#8fc47a',
    500: '#5baa42',
    950: '#000000',
  },
}
SCSS
$custom: #5baa42;
$custom-light: #8fc47a;
$custom-dark: #000000;
JSON
{
  "hex": "#5baa42",
  "rgb": {
    "r": 91,
    "g": 170,
    "b": 66
  },
  "hsl": {
    "h": 105.577,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66463,
    "c": 0.16039,
    "h": 138.9
  },
  "luminance": 0.31367
}

Semantic roles & 50–950 ramp

primary
#5BAA42
secondary
#B288C0
accent
#54D4B5
background
#F9FCF7
surface
#F1F8EE
border
#CBD1C9
text
#0D1309
muted
#7E827B

Preview Lab

Preview with #5BAA42

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

Preview Lab → · Contrast checker → · Palette generator →

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