#5AB72B#5AB72B

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

Color values

HEX#5AB72B
RGBrgb(90, 183, 43)
HSLhsl(100, 62%, 44%)
HSVhsv(100, 77%, 72%)
CMYKcmyk(50.8%, 0%, 76.5%, 28.2%)
CIE-LABlab(66.68, -51.34, 58.31)
CIE-LCHlch(66.68, 77.69, 131.36°)
OKLaboklab(69.57% -0.1423 0.1303)
OKLCHoklch(69.57% 0.193 137.5)
XYZxyz(21.5853, 36.2135, 8.1375)
Luminance0.3622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB72B #882BB7
analogous
#A0B72B #5AB72B #2BB742
triadic
#5AB72B #2B5AB7 #B72B5A
tetradic
#5AB72B #2BA0B7 #882BB7 #B7422B
square
#5AB72B #2BA0B7 #882BB7 #B7422B
split-complementary
#5AB72B #422BB7 #B72BA0
monochromatic
#295414 #42851F #5AB72B #79D54B #9EE07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AB72B#FFFFFF#000000##000000
##5AB72B1.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)
#BDA707
Deuteranopia (green-blind)
#B19F3A
Tritanopia (blue-blind)
#54B09D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #5ab72b;
/* rgb */ color: rgb(90, 183, 43);
/* oklch */ color: oklch(69.6% 0.193 137.5);
Tailwind
colors: {
  custom: {
    50: '#92cd6f',
    500: '#5ab72b',
    950: '#000000',
  },
}
SCSS
$custom: #5ab72b;
$custom-light: #92cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab72b",
  "rgb": {
    "r": 90,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 99.857,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69574,
    "c": 0.19291,
    "h": 137.5
  },
  "luminance": 0.36215
}

Semantic roles & 50–950 ramp

primary
#5AB72B
secondary
#AD75C9
accent
#43E5AF
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB72B

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

Preview Lab → · Contrast checker → · Palette generator →

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