#5AB340#5AB340

#5AB340 is a light, vivid green. Relative luminance 0.348; OKLCH L 68.7% C 0.174 H 139.3°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5AB340
RGBrgb(90, 179, 64)
HSLhsl(106, 47%, 48%)
HSVhsv(106, 64%, 70%)
CMYKcmyk(49.7%, 0%, 64.2%, 29.8%)
CIE-LABlab(65.58, -48.11, 49.11)
CIE-LCHlch(65.58, 68.75, 134.42°)
OKLaboklab(68.71% -0.1322 0.1137)
OKLCHoklch(68.71% 0.174 139.3)
XYZxyz(21.2611, 34.7825, 10.4428)
Luminance0.3478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB340 #9940B3
analogous
#93B340 #5AB340 #40B360
triadic
#5AB340 #405AB3 #B3405A
tetradic
#5AB340 #4093B3 #9940B3 #B36040
square
#5AB340 #4093B3 #9940B3 #B36040
split-complementary
#5AB340 #6040B3 #B34093
monochromatic
#2D5920 #438630 #5AB340 #7DC967 #A4D994

Accessibility & contrast

On white

2.64
#5AB340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#5AB340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB340
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB340#FFFFFF#000000##000000
##5AB3401.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A432
Deuteranopia (green-blind)
#AC9C4A
Tritanopia (blue-blind)
#52AD9B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab340;
/* rgb */ color: rgb(90, 179, 64);
/* oklch */ color: oklch(68.7% 0.174 139.3);
Tailwind
colors: {
  custom: {
    50: '#90ca7a',
    500: '#5ab340',
    950: '#000000',
  },
}
SCSS
$custom: #5ab340;
$custom-light: #90ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab340",
  "rgb": {
    "r": 90,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 106.435,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68714,
    "c": 0.17438,
    "h": 139.3
  },
  "luminance": 0.34784
}

Semantic roles & 50–950 ramp

primary
#5AB340
secondary
#B78AC4
accent
#51D7B9
background
#F9FCF7
surface
#F2F8EE
border
#CCD1C9
text
#0D1309
muted
#7E827B

Preview Lab

Preview with #5AB340

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

Preview Lab → · Contrast checker → · Palette generator →

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