#5AB52A#5AB52A

#5AB52A is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.0% C 0.191 H 137.3°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#5AB52A
RGBrgb(90, 181, 42)
HSLhsl(99, 62%, 44%)
HSVhsv(99, 77%, 71%)
CMYKcmyk(50.3%, 0%, 76.8%, 29%)
CIE-LABlab(66.05, -50.63, 58.03)
CIE-LCHlch(66.05, 77.01, 131.11°)
OKLaboklab(69.05% -0.1404 0.1295)
OKLCHoklch(69.05% 0.191 137.3)
XYZxyz(21.1576, 35.3871, 7.9055)
Luminance0.3539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB52A #852AB5
analogous
#9FB52A #5AB52A #2AB540
triadic
#5AB52A #2A5AB5 #B52A5A
tetradic
#5AB52A #2A9FB5 #852AB5 #B5402A
square
#5AB52A #2A9FB5 #852AB5 #B5402A
split-complementary
#5AB52A #402AB5 #B52A9F
monochromatic
#295213 #41831E #5AB52A #78D448 #9DE079

Accessibility & contrast

On white

2.60
#5AB52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#5AB52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB52A
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB52A#FFFFFF#000000##000000
##5AB52A1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA506
Deuteranopia (green-blind)
#AF9E39
Tritanopia (blue-blind)
#54AE9B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5ab52a;
/* rgb */ color: rgb(90, 181, 42);
/* oklch */ color: oklch(69.0% 0.191 137.3);
Tailwind
colors: {
  custom: {
    50: '#91cc6e',
    500: '#5ab52a',
    950: '#000000',
  },
}
SCSS
$custom: #5ab52a;
$custom-light: #91cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab52a",
  "rgb": {
    "r": 90,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 99.281,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6905,
    "c": 0.19106,
    "h": 137.3
  },
  "luminance": 0.35389
}

Semantic roles & 50–950 ramp

primary
#5AB52A
secondary
#AB73C8
accent
#42E5AD
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB52A

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

Preview Lab → · Contrast checker → · Palette generator →

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