#5AA42B#5AA42B

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

Color values

HEX#5AA42B
RGBrgb(90, 164, 43)
HSLhsl(97, 58%, 41%)
HSVhsv(97, 74%, 64%)
CMYKcmyk(45.1%, 0%, 73.8%, 35.7%)
CIE-LABlab(60.69, -43.82, 52.42)
CIE-LCHlch(60.69, 68.32, 129.89°)
OKLaboklab(64.65% -0.122 0.118)
OKLCHoklch(64.65% 0.17 136)
XYZxyz(17.9275, 28.8979, 6.9182)
Luminance0.2890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA42B #752BA4
analogous
#96A42B #5AA42B #2BA438
triadic
#5AA42B #2B5AA4 #A42B5A
tetradic
#5AA42B #2B96A4 #752BA4 #A4382B
square
#5AA42B #2B96A4 #752BA4 #A4382B
split-complementary
#5AA42B #382BA4 #A42B96
monochromatic
#254312 #3F741E #5AA42B #76CD3F #99D970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA42B#FFFFFF#000000##000000
##5AA42B1.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)
#AA9614
Deuteranopia (green-blind)
#A09037
Tritanopia (blue-blind)
#579E8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5aa42b;
/* rgb */ color: rgb(90, 164, 43);
/* oklch */ color: oklch(64.6% 0.170 136.0);
Tailwind
colors: {
  custom: {
    50: '#8fbf6d',
    500: '#5aa42b',
    950: '#000000',
  },
}
SCSS
$custom: #5aa42b;
$custom-light: #8fbf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa42b",
  "rgb": {
    "r": 90,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 96.694,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64649,
    "c": 0.16972,
    "h": 136
  },
  "luminance": 0.28899
}

Semantic roles & 50–950 ramp

primary
#5AA42B
secondary
#9F6AC1
accent
#46E2A5
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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