#5AAA42#5AAA42

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

Color values

HEX#5AAA42
RGBrgb(90, 170, 66)
HSLhsl(106, 44%, 46%)
HSVhsv(106, 61%, 67%)
CMYKcmyk(47.1%, 0%, 61.2%, 33.3%)
CIE-LABlab(62.77, -44.27, 45.08)
CIE-LCHlch(62.77, 63.18, 134.48°)
OKLaboklab(66.42% -0.1216 0.1053)
OKLCHoklch(66.42% 0.161 139.1)
XYZxyz(19.5738, 31.3151, 10.1662)
Luminance0.3132 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAA42 #9242AA
analogous
#8EAA42 #5AAA42 #42AA5E
triadic
#5AAA42 #425AAA #AA425A
tetradic
#5AAA42 #428EAA #9242AA #AA5E42
square
#5AAA42 #428EAA #9242AA #AA5E42
split-complementary
#5AAA42 #5E42AA #AA428E
monochromatic
#2B5220 #437E31 #5AAA42 #7BC366 #A1D592

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AAA42#FFFFFF#000000##000000
##5AAA421.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)
#AF9C37
Deuteranopia (green-blind)
#A4954A
Tritanopia (blue-blind)
#54A594
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5aaa42;
/* rgb */ color: rgb(90, 170, 66);
/* oklch */ color: oklch(66.4% 0.161 139.1);
Tailwind
colors: {
  custom: {
    50: '#8fc47a',
    500: '#5aaa42',
    950: '#000000',
  },
}
SCSS
$custom: #5aaa42;
$custom-light: #8fc47a;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaa42",
  "rgb": {
    "r": 90,
    "g": 170,
    "b": 66
  },
  "hsl": {
    "h": 106.154,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66417,
    "c": 0.1609,
    "h": 139.1
  },
  "luminance": 0.31316
}

Semantic roles & 50–950 ramp

primary
#5AAA42
secondary
#B388C0
accent
#54D4B6
background
#F9FCF7
surface
#F1F8EE
border
#CBD1C9
text
#0D1309
muted
#7E827B

Preview Lab

Preview with #5AAA42

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

Preview Lab → · Contrast checker → · Palette generator →

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