#5AB72A#5AB72A

#5AB72A is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 69.6% C 0.193 H 137.4°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#5AB72A
RGBrgb(90, 183, 42)
HSLhsl(100, 63%, 44%)
HSVhsv(100, 77%, 72%)
CMYKcmyk(50.8%, 0%, 77%, 28.2%)
CIE-LABlab(66.68, -51.40, 58.63)
CIE-LCHlch(66.68, 77.97, 131.24°)
OKLaboklab(69.57% -0.1425 0.1308)
OKLCHoklch(69.57% 0.193 137.4)
XYZxyz(21.5672, 36.2062, 8.0421)
Luminance0.3621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB72A #872AB7
analogous
#A1B72A #5AB72A #2AB740
triadic
#5AB72A #2A5AB7 #B72A5A
tetradic
#5AB72A #2AA1B7 #872AB7 #B7402A
square
#5AB72A #2AA1B7 #872AB7 #B7402A
split-complementary
#5AB72A #402AB7 #B72AA1
monochromatic
#295313 #42851F #5AB72A #79D549 #9DE17B

Accessibility & contrast

On white

2.55
#5AB72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#5AB72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB72A
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB72A#FFFFFF#000000##000000
##5AB72A1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA704
Deuteranopia (green-blind)
#B19F39
Tritanopia (blue-blind)
#54B09D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #5ab72a;
/* rgb */ color: rgb(90, 183, 42);
/* oklch */ color: oklch(69.6% 0.193 137.4);
Tailwind
colors: {
  custom: {
    50: '#92cd6e',
    500: '#5ab72a',
    950: '#000000',
  },
}
SCSS
$custom: #5ab72a;
$custom-light: #92cd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab72a",
  "rgb": {
    "r": 90,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 99.574,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69567,
    "c": 0.19344,
    "h": 137.4
  },
  "luminance": 0.36208
}

Semantic roles & 50–950 ramp

primary
#5AB72A
secondary
#AC74C9
accent
#42E6AE
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB72A

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

Preview Lab → · Contrast checker → · Palette generator →

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