#5AB040#5AB040

#5AB040 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.9% C 0.170 H 139.2°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5AB040
RGBrgb(90, 176, 64)
HSLhsl(106, 47%, 47%)
HSVhsv(106, 64%, 69%)
CMYKcmyk(48.9%, 0%, 63.6%, 31%)
CIE-LABlab(64.64, -46.92, 48.07)
CIE-LCHlch(64.64, 67.17, 134.31°)
OKLaboklab(67.94% -0.1289 0.1115)
OKLCHoklch(67.94% 0.17 139.2)
XYZxyz(20.6664, 33.5930, 10.2446)
Luminance0.3359 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB040 #9640B0
analogous
#92B040 #5AB040 #40B05E
triadic
#5AB040 #405AB0 #B0405A
tetradic
#5AB040 #4092B0 #9640B0 #B05E40
square
#5AB040 #4092B0 #9640B0 #B05E40
split-complementary
#5AB040 #5E40B0 #B04092
monochromatic
#2C561F #438330 #5AB040 #7DC766 #A3D893

Accessibility & contrast

On white

2.72
#5AB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#5AB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB040
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB040#FFFFFF#000000##000000
##5AB0401.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A133
Deuteranopia (green-blind)
#AA9A49
Tritanopia (blue-blind)
#53AA98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5ab040;
/* rgb */ color: rgb(90, 176, 64);
/* oklch */ color: oklch(67.9% 0.170 139.2);
Tailwind
colors: {
  custom: {
    50: '#90c879',
    500: '#5ab040',
    950: '#000000',
  },
}
SCSS
$custom: #5ab040;
$custom-light: #90c879;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab040",
  "rgb": {
    "r": 90,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 106.071,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67942,
    "c": 0.17046,
    "h": 139.2
  },
  "luminance": 0.33594
}

Semantic roles & 50–950 ramp

primary
#5AB040
secondary
#B589C3
accent
#51D6B7
background
#F9FCF7
surface
#F1F8EE
border
#CBD1C9
text
#0D1309
muted
#7E827B

Preview Lab

Preview with #5AB040

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

Preview Lab → · Contrast checker → · Palette generator →

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