#5AA040#5AA040

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

Color values

HEX#5AA040
RGBrgb(90, 160, 64)
HSLhsl(104, 43%, 44%)
HSVhsv(104, 60%, 63%)
CMYKcmyk(43.7%, 0%, 60%, 37.3%)
CIE-LABlab(59.60, -40.28, 42.40)
CIE-LCHlch(59.60, 58.48, 133.53°)
OKLaboklab(63.81% -0.1109 0.0994)
OKLCHoklch(63.81% 0.149 138.1)
XYZxyz(17.7121, 27.6844, 9.2598)
Luminance0.2768 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA040 #8640A0
analogous
#8AA040 #5AA040 #40A056
triadic
#5AA040 #405AA0 #A0405A
tetradic
#5AA040 #408AA0 #8640A0 #A05640
square
#5AA040 #408AA0 #8640A0 #A05640
split-complementary
#5AA040 #5640A0 #A0408A
monochromatic
#29491D #41742F #5AA040 #79BF5E #9DD08A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA040#FFFFFF#000000##000000
##5AA0401.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)
#A59336
Deuteranopia (green-blind)
#9B8D47
Tritanopia (blue-blind)
#569B8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5aa040;
/* rgb */ color: rgb(90, 160, 64);
/* oklch */ color: oklch(63.8% 0.149 138.1);
Tailwind
colors: {
  custom: {
    50: '#8ebc78',
    500: '#5aa040',
    950: '#000000',
  },
}
SCSS
$custom: #5aa040;
$custom-light: #8ebc78;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa040",
  "rgb": {
    "r": 90,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 103.75,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.63813,
    "c": 0.14892,
    "h": 138.1
  },
  "luminance": 0.27685
}

Semantic roles & 50–950 ramp

primary
#5AA040
secondary
#AB81BB
accent
#55D3B1
background
#F9FBF7
surface
#F1F6ED
border
#CBD0C8
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5AA040

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

Preview Lab → · Contrast checker → · Palette generator →

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