#5AA42A#5AA42A

#5AA42A is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 64.6% C 0.170 H 135.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5AA42A
RGBrgb(90, 164, 42)
HSLhsl(96, 59%, 40%)
HSVhsv(96, 74%, 64%)
CMYKcmyk(45.1%, 0%, 74.4%, 35.7%)
CIE-LABlab(60.69, -43.89, 52.78)
CIE-LCHlch(60.69, 68.64, 129.75°)
OKLaboklab(64.64% -0.1223 0.1186)
OKLCHoklch(64.64% 0.17 135.9)
XYZxyz(17.9094, 28.8907, 6.8228)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA42A #742AA4
analogous
#97A42A #5AA42A #2AA437
triadic
#5AA42A #2A5AA4 #A42A5A
tetradic
#5AA42A #2A97A4 #742AA4 #A4372A
square
#5AA42A #2A97A4 #742AA4 #A4372A
split-complementary
#5AA42A #372AA4 #A42A97
monochromatic
#254311 #3F731E #5AA42A #76CD3E #99DA6E

Accessibility & contrast

On white

3.10
#5AA42A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#5AA42A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA42A
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA42A#FFFFFF#000000##000000
##5AA42A1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9612
Deuteranopia (green-blind)
#A09036
Tritanopia (blue-blind)
#579E8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5aa42a;
/* rgb */ color: rgb(90, 164, 42);
/* oklch */ color: oklch(64.6% 0.170 135.9);
Tailwind
colors: {
  custom: {
    50: '#8fbf6c',
    500: '#5aa42a',
    950: '#000000',
  },
}
SCSS
$custom: #5aa42a;
$custom-light: #8fbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa42a",
  "rgb": {
    "r": 90,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 96.393,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64642,
    "c": 0.17031,
    "h": 135.9
  },
  "luminance": 0.28892
}

Semantic roles & 50–950 ramp

primary
#5AA42A
secondary
#9E69C1
accent
#45E2A5
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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