#5AA82A#5AA82A

#5AA82A is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 65.7% C 0.175 H 136.3°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5AA82A
RGBrgb(90, 168, 42)
HSLhsl(97, 60%, 41%)
HSVhsv(97, 75%, 66%)
CMYKcmyk(46.4%, 0%, 75%, 34.1%)
CIE-LABlab(61.95, -45.52, 54.03)
CIE-LCHlch(61.95, 70.65, 130.11°)
OKLaboklab(65.68% -0.1267 0.1212)
OKLCHoklch(65.68% 0.175 136.3)
XYZxyz(18.6365, 30.3449, 7.0652)
Luminance0.3035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA82A #782AA8
analogous
#99A82A #5AA82A #2AA839
triadic
#5AA82A #2A5AA8 #A82A5A
tetradic
#5AA82A #2A99A8 #782AA8 #A8392A
square
#5AA82A #2A99A8 #782AA8 #A8392A
split-complementary
#5AA82A #392AA8 #A82A99
monochromatic
#264612 #40771E #5AA82A #77CF40 #9ADB71

Accessibility & contrast

On white

2.97
#5AA82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#5AA82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA82A
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA82A#FFFFFF#000000##000000
##5AA82A1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A10
Deuteranopia (green-blind)
#A49337
Tritanopia (blue-blind)
#56A290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5aa82a;
/* rgb */ color: rgb(90, 168, 42);
/* oklch */ color: oklch(65.7% 0.175 136.3);
Tailwind
colors: {
  custom: {
    50: '#90c26d',
    500: '#5aa82a',
    950: '#000000',
  },
}
SCSS
$custom: #5aa82a;
$custom-light: #90c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa82a",
  "rgb": {
    "r": 90,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 97.143,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65681,
    "c": 0.17529,
    "h": 136.3
  },
  "luminance": 0.30346
}

Semantic roles & 50–950 ramp

primary
#5AA82A
secondary
#A16BC3
accent
#45E3A7
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA82A

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

Preview Lab → · Contrast checker → · Palette generator →

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