#5AB145#5AB145

#5AB145 is a light, vivid green. Relative luminance 0.340; OKLCH L 68.3% C 0.168 H 139.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#5AB145
RGBrgb(90, 177, 69)
HSLhsl(108, 44%, 48%)
HSVhsv(108, 61%, 69%)
CMYKcmyk(49.2%, 0%, 61%, 30.6%)
CIE-LABlab(65.00, -46.81, 46.24)
CIE-LCHlch(65.00, 65.80, 135.35°)
OKLaboklab(68.25% -0.1283 0.1081)
OKLCHoklch(68.25% 0.168 139.9)
XYZxyz(21.0119, 34.0461, 11.0934)
Luminance0.3405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB145 #9C45B1
analogous
#90B145 #5AB145 #45B166
triadic
#5AB145 #455AB1 #B1455A
tetradic
#5AB145 #4590B1 #9C45B1 #B16645
square
#5AB145 #4590B1 #9C45B1 #B16645
split-complementary
#5AB145 #6645B1 #B14590
monochromatic
#2D5923 #448534 #5AB145 #7EC66D #A5D799

Accessibility & contrast

On white

2.69
#5AB145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#5AB145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB145
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB145#FFFFFF#000000##000000
##5AB1451.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A239
Deuteranopia (green-blind)
#AA9B4E
Tritanopia (blue-blind)
#52AC9A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5ab145;
/* rgb */ color: rgb(90, 177, 69);
/* oklch */ color: oklch(68.3% 0.168 139.9);
Tailwind
colors: {
  custom: {
    50: '#90c97d',
    500: '#5ab145',
    950: '#000000',
  },
}
SCSS
$custom: #5ab145;
$custom-light: #90c97d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab145",
  "rgb": {
    "r": 90,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 108.333,
    "s": 43.902,
    "l": 48.235
  },
  "oklch": {
    "l": 0.68253,
    "c": 0.16781,
    "h": 139.9
  },
  "luminance": 0.34048
}

Semantic roles & 50–950 ramp

primary
#5AB145
secondary
#B98EC3
accent
#54D4BB
background
#F9FCF7
surface
#F1F8EE
border
#CBD1C9
text
#0D130A
muted
#7E827C

Preview Lab

Preview with #5AB145

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

Preview Lab → · Contrast checker → · Palette generator →

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