#5AB162#5AB162

#5AB162 is a light, vivid green. Relative luminance 0.345; OKLCH L 68.7% C 0.141 H 145.7°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5AB162
RGBrgb(90, 177, 98)
HSLhsl(126, 36%, 52%)
HSVhsv(126, 49%, 69%)
CMYKcmyk(49.2%, 0%, 44.6%, 30.6%)
CIE-LABlab(65.36, -43.02, 32.48)
CIE-LCHlch(65.36, 53.90, 142.95°)
OKLaboklab(68.66% -0.1168 0.0796)
OKLCHoklch(68.66% 0.141 145.7)
XYZxyz(22.1420, 34.4981, 17.0449)
Luminance0.3450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB162 #B15AA9
analogous
#7EB15A #5AB162 #5AB18D
triadic
#5AB162 #625AB1 #B1625A
tetradic
#5AB162 #5A7EB1 #B15AA9 #B18D5A
square
#5AB162 #5A7EB1 #B15AA9 #B18D5A
split-complementary
#5AB162 #8D5AB1 #B15A7E
monochromatic
#2E6233 #428C49 #5AB162 #84C58A #ADD8B1

Accessibility & contrast

On white

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

On black

7.90
#5AB162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB162
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB162#FFFFFF#000000##000000
##5AB1621.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A45C
Deuteranopia (green-blind)
#A79B67
Tritanopia (blue-blind)
#4CAD9E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab162;
/* rgb */ color: rgb(90, 177, 98);
/* oklch */ color: oklch(68.7% 0.141 145.7);
Tailwind
colors: {
  custom: {
    50: '#8ec990',
    500: '#5ab162',
    950: '#000000',
  },
}
SCSS
$custom: #5ab162;
$custom-light: #8ec990;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab162",
  "rgb": {
    "r": 90,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 125.517,
    "s": 35.802,
    "l": 52.353
  },
  "oklch": {
    "l": 0.68661,
    "c": 0.14139,
    "h": 145.7
  },
  "luminance": 0.345
}

Semantic roles & 50–950 ramp

primary
#5AB162
secondary
#C6A0C3
accent
#5CC2CC
background
#F9FCF8
surface
#F1F8F0
border
#CBD1CB
text
#0D130C
muted
#7E827D

Preview Lab

Preview with #5AB162

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

Preview Lab → · Contrast checker → · Palette generator →

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