#5AAA40#5AAA40

#5AAA40 is a light, vivid green. Relative luminance 0.313; OKLCH L 66.4% C 0.163 H 138.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5AAA40
RGBrgb(90, 170, 64)
HSLhsl(105, 45%, 46%)
HSVhsv(105, 62%, 67%)
CMYKcmyk(47.1%, 0%, 62.4%, 33.3%)
CIE-LABlab(62.75, -44.48, 45.97)
CIE-LCHlch(62.75, 63.96, 134.06°)
OKLaboklab(66.4% -0.1223 0.107)
OKLCHoklch(66.4% 0.163 138.8)
XYZxyz(19.5159, 31.2920, 9.8611)
Luminance0.3129 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAA40 #9040AA
analogous
#8FAA40 #5AAA40 #40AA5B
triadic
#5AAA40 #405AAA #AA405A
tetradic
#5AAA40 #408FAA #9040AA #AA5B40
square
#5AAA40 #408FAA #9040AA #AA5B40
split-complementary
#5AAA40 #5B40AA #AA408F
monochromatic
#2B511F #427E2F #5AAA40 #7BC463 #A0D58F

Accessibility & contrast

On white

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

On black

7.26
#5AAA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAA40
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAA40#FFFFFF#000000##000000
##5AAA401.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C34
Deuteranopia (green-blind)
#A49549
Tritanopia (blue-blind)
#54A494
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5aaa40;
/* rgb */ color: rgb(90, 170, 64);
/* oklch */ color: oklch(66.4% 0.163 138.8);
Tailwind
colors: {
  custom: {
    50: '#8fc479',
    500: '#5aaa40',
    950: '#000000',
  },
}
SCSS
$custom: #5aaa40;
$custom-light: #8fc479;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaa40",
  "rgb": {
    "r": 90,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 105.283,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.66395,
    "c": 0.16254,
    "h": 138.8
  },
  "luminance": 0.31293
}

Semantic roles & 50–950 ramp

primary
#5AAA40
secondary
#B286C0
accent
#53D5B5
background
#F9FCF7
surface
#F1F8EE
border
#CBD1C9
text
#0D1309
muted
#7E827B

Preview Lab

Preview with #5AAA40

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

Preview Lab → · Contrast checker → · Palette generator →

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