#5AB72D#5AB72D

#5AB72D is a light, vivid green. Relative luminance 0.362; OKLCH L 69.6% C 0.192 H 137.7°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#5AB72D
RGBrgb(90, 183, 45)
HSLhsl(100, 61%, 45%)
HSVhsv(100, 75%, 72%)
CMYKcmyk(50.8%, 0%, 75.4%, 28.2%)
CIE-LABlab(66.69, -51.21, 57.65)
CIE-LCHlch(66.69, 77.11, 131.61°)
OKLaboklab(69.59% -0.1418 0.1292)
OKLCHoklch(69.59% 0.192 137.7)
XYZxyz(21.6229, 36.2285, 8.3355)
Luminance0.3623 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB72D #8A2DB7
analogous
#9FB72D #5AB72D #2DB745
triadic
#5AB72D #2D5AB7 #B72D5A
tetradic
#5AB72D #2D9FB7 #8A2DB7 #B7452D
square
#5AB72D #2D9FB7 #8A2DB7 #B7452D
split-complementary
#5AB72D #452DB7 #B72D9F
monochromatic
#2A5515 #428621 #5AB72D #79D34E #9EDF7F

Accessibility & contrast

On white

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

On black

8.25
#5AB72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB72D
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB72D#FFFFFF#000000##000000
##5AB72D1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA70E
Deuteranopia (green-blind)
#B19F3C
Tritanopia (blue-blind)
#53B09D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #5ab72d;
/* rgb */ color: rgb(90, 183, 45);
/* oklch */ color: oklch(69.6% 0.192 137.7);
Tailwind
colors: {
  custom: {
    50: '#91cd70',
    500: '#5ab72d',
    950: '#000000',
  },
}
SCSS
$custom: #5ab72d;
$custom-light: #91cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab72d",
  "rgb": {
    "r": 90,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 100.435,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69587,
    "c": 0.19183,
    "h": 137.7
  },
  "luminance": 0.3623
}

Semantic roles & 50–950 ramp

primary
#5AB72D
secondary
#AE78C8
accent
#44E4B0
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB72D

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

Preview Lab → · Contrast checker → · Palette generator →

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