#5AB22F#5AB22F

#5AB22F is a light, vivid green. Relative luminance 0.342; OKLCH L 68.3% C 0.185 H 137.5°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#5AB22F
RGBrgb(90, 178, 47)
HSLhsl(100, 58%, 44%)
HSVhsv(100, 74%, 70%)
CMYKcmyk(49.4%, 0%, 73.6%, 30.2%)
CIE-LABlab(65.14, -49.14, 55.41)
CIE-LCHlch(65.14, 74.06, 131.57°)
OKLaboklab(68.31% -0.1361 0.1248)
OKLCHoklch(68.31% 0.185 137.5)
XYZxyz(20.6493, 34.2182, 8.2055)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB22F #872FB2
analogous
#9CB22F #5AB22F #2FB245
triadic
#5AB22F #2F5AB2 #B22F5A
tetradic
#5AB22F #2F9CB2 #872FB2 #B2452F
square
#5AB22F #2F9CB2 #872FB2 #B2452F
split-complementary
#5AB22F #452FB2 #B22F9C
monochromatic
#295115 #428222 #5AB22F #79D04E #9DDD7E

Accessibility & contrast

On white

2.68
#5AB22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#5AB22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB22F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB22F#FFFFFF#000000##000000
##5AB22F1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A316
Deuteranopia (green-blind)
#AC9B3C
Tritanopia (blue-blind)
#54AC99
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5ab22f;
/* rgb */ color: rgb(90, 178, 47);
/* oklch */ color: oklch(68.3% 0.185 137.5);
Tailwind
colors: {
  custom: {
    50: '#91ca70',
    500: '#5ab22f',
    950: '#000000',
  },
}
SCSS
$custom: #5ab22f;
$custom-light: #91ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab22f",
  "rgb": {
    "r": 90,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 100.305,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68308,
    "c": 0.18466,
    "h": 137.5
  },
  "luminance": 0.3422
}

Semantic roles & 50–950 ramp

primary
#5AB22F
secondary
#AC77C6
accent
#46E1AF
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AB22F

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

Preview Lab → · Contrast checker → · Palette generator →

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