#5AA042#5AA042

#5AA042 is a light, vivid green. Relative luminance 0.277; OKLCH L 63.8% C 0.147 H 138.5°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5AA042
RGBrgb(90, 160, 66)
HSLhsl(105, 42%, 44%)
HSVhsv(105, 59%, 63%)
CMYKcmyk(43.7%, 0%, 58.8%, 37.3%)
CIE-LABlab(59.62, -40.06, 41.48)
CIE-LCHlch(59.62, 57.66, 134.00°)
OKLaboklab(63.84% -0.1102 0.0976)
OKLCHoklch(63.84% 0.147 138.5)
XYZxyz(17.7700, 27.7075, 9.5649)
Luminance0.2771 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA042 #8842A0
analogous
#89A042 #5AA042 #42A059
triadic
#5AA042 #425AA0 #A0425A
tetradic
#5AA042 #4289A0 #8842A0 #A05942
square
#5AA042 #4289A0 #8842A0 #A05942
split-complementary
#5AA042 #5942A0 #A04289
monochromatic
#29491E #427530 #5AA042 #79BE61 #9ED08D

Accessibility & contrast

On white

3.21
#5AA042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#5AA042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA042
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA042#FFFFFF#000000##000000
##5AA0421.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59338
Deuteranopia (green-blind)
#9B8D49
Tritanopia (blue-blind)
#559B8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5aa042;
/* rgb */ color: rgb(90, 160, 66);
/* oklch */ color: oklch(63.8% 0.147 138.5);
Tailwind
colors: {
  custom: {
    50: '#8ebc79',
    500: '#5aa042',
    950: '#000000',
  },
}
SCSS
$custom: #5aa042;
$custom-light: #8ebc79;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa042",
  "rgb": {
    "r": 90,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 104.681,
    "s": 41.593,
    "l": 44.314
  },
  "oklch": {
    "l": 0.63837,
    "c": 0.14718,
    "h": 138.5
  },
  "luminance": 0.27709
}

Semantic roles & 50–950 ramp

primary
#5AA042
secondary
#AD83BB
accent
#56D1B2
background
#F9FBF7
surface
#F1F6EE
border
#CBD0C9
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5AA042

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

Preview Lab → · Contrast checker → · Palette generator →

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