#5AA42C#5AA42C

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

Color values

HEX#5AA42C
RGBrgb(90, 164, 44)
HSLhsl(97, 58%, 41%)
HSVhsv(97, 73%, 64%)
CMYKcmyk(45.1%, 0%, 73.2%, 35.7%)
CIE-LABlab(60.70, -43.75, 52.06)
CIE-LCHlch(60.70, 68.00, 130.04°)
OKLaboklab(64.66% -0.1217 0.1174)
OKLCHoklch(64.66% 0.169 136.1)
XYZxyz(17.9461, 28.9053, 7.0160)
Luminance0.2891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA42C #762CA4
analogous
#96A42C #5AA42C #2CA43A
triadic
#5AA42C #2C5AA4 #A42C5A
tetradic
#5AA42C #2C96A4 #762CA4 #A43A2C
square
#5AA42C #2C96A4 #762CA4 #A43A2C
split-complementary
#5AA42C #3A2CA4 #A42C96
monochromatic
#254312 #40741F #5AA42C #76CC41 #99D971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA42C#FFFFFF#000000##000000
##5AA42C1.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)
#AA9616
Deuteranopia (green-blind)
#A09038
Tritanopia (blue-blind)
#579E8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5aa42c;
/* rgb */ color: rgb(90, 164, 44);
/* oklch */ color: oklch(64.7% 0.169 136.1);
Tailwind
colors: {
  custom: {
    50: '#8fbf6d',
    500: '#5aa42c',
    950: '#000000',
  },
}
SCSS
$custom: #5aa42c;
$custom-light: #8fbf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa42c",
  "rgb": {
    "r": 90,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 97,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64657,
    "c": 0.1691,
    "h": 136.1
  },
  "luminance": 0.28906
}

Semantic roles & 50–950 ramp

primary
#5AA42C
secondary
#A06BC0
accent
#47E1A6
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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