#5AA342#5AA342

#5AA342 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.6% C 0.151 H 138.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5AA342
RGBrgb(90, 163, 66)
HSLhsl(105, 42%, 45%)
HSVhsv(105, 60%, 64%)
CMYKcmyk(44.8%, 0%, 59.5%, 36.1%)
CIE-LABlab(60.57, -41.34, 42.57)
CIE-LCHlch(60.57, 59.34, 134.16°)
OKLaboklab(64.61% -0.1137 0.1)
OKLCHoklch(64.61% 0.151 138.7)
XYZxyz(18.2964, 28.7603, 9.7404)
Luminance0.2876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA342 #8B42A3
analogous
#8AA342 #5AA342 #42A35B
triadic
#5AA342 #425AA3 #A3425A
tetradic
#5AA342 #428AA3 #8B42A3 #A35B42
square
#5AA342 #428AA3 #8B42A3 #A35B42
split-complementary
#5AA342 #5B42A3 #A3428A
monochromatic
#2A4C1F #427730 #5AA342 #7AC063 #9FD18E

Accessibility & contrast

On white

3.11
#5AA342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#5AA342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA342
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA342#FFFFFF#000000##000000
##5AA3421.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89638
Deuteranopia (green-blind)
#9E9049
Tritanopia (blue-blind)
#559E8E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5aa342;
/* rgb */ color: rgb(90, 163, 66);
/* oklch */ color: oklch(64.6% 0.151 138.7);
Tailwind
colors: {
  custom: {
    50: '#8ebf7a',
    500: '#5aa342',
    950: '#000000',
  },
}
SCSS
$custom: #5aa342;
$custom-light: #8ebf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa342",
  "rgb": {
    "r": 90,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 105.155,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64611,
    "c": 0.15136,
    "h": 138.7
  },
  "luminance": 0.28761
}

Semantic roles & 50–950 ramp

primary
#5AA342
secondary
#AF84BC
accent
#56D2B3
background
#F9FBF7
surface
#F1F7EE
border
#CBD0C9
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5AA342

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

Preview Lab → · Contrast checker → · Palette generator →

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