#5AA642#5AA642

#5AA642 is a light, vivid green. Relative luminance 0.298; OKLCH L 65.4% C 0.155 H 138.9°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5AA642
RGBrgb(90, 166, 66)
HSLhsl(106, 43%, 45%)
HSVhsv(106, 60%, 65%)
CMYKcmyk(45.8%, 0%, 60.2%, 34.9%)
CIE-LABlab(61.51, -42.61, 43.65)
CIE-LCHlch(61.51, 61.00, 134.31°)
OKLaboklab(65.39% -0.1171 0.1023)
OKLCHoklch(65.39% 0.155 138.9)
XYZxyz(18.8354, 29.8382, 9.9201)
Luminance0.2984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA642 #8E42A6
analogous
#8CA642 #5AA642 #42A65C
triadic
#5AA642 #425AA6 #A6425A
tetradic
#5AA642 #428CA6 #8E42A6 #A65C42
square
#5AA642 #428CA6 #8E42A6 #A65C42
split-complementary
#5AA642 #5C42A6 #A6428C
monochromatic
#2B4E1F #427A31 #5AA642 #7AC164 #A0D390

Accessibility & contrast

On white

3.01
#5AA642 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#5AA642 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA642
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA642#FFFFFF#000000##000000
##5AA6421.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9937
Deuteranopia (green-blind)
#A0924A
Tritanopia (blue-blind)
#54A190
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5aa642;
/* rgb */ color: rgb(90, 166, 66);
/* oklch */ color: oklch(65.4% 0.155 138.9);
Tailwind
colors: {
  custom: {
    50: '#8ec17a',
    500: '#5aa642',
    950: '#000000',
  },
}
SCSS
$custom: #5aa642;
$custom-light: #8ec17a;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa642",
  "rgb": {
    "r": 90,
    "g": 166,
    "b": 66
  },
  "hsl": {
    "h": 105.6,
    "s": 43.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.65385,
    "c": 0.15549,
    "h": 138.9
  },
  "luminance": 0.29839
}

Semantic roles & 50–950 ramp

primary
#5AA642
secondary
#B186BE
accent
#55D3B5
background
#F9FBF7
surface
#F1F7EE
border
#CBD0C9
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5AA642

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

Preview Lab → · Contrast checker → · Palette generator →

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