#5AB122#5AB122

#5AB122 is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.0% C 0.190 H 136.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5AB122
RGBrgb(90, 177, 34)
HSLhsl(97, 68%, 41%)
HSVhsv(97, 81%, 69%)
CMYKcmyk(49.2%, 0%, 80.8%, 30.6%)
CIE-LABlab(64.75, -49.54, 59.26)
CIE-LCHlch(64.75, 77.24, 129.90°)
OKLaboklab(67.97% -0.138 0.131)
OKLCHoklch(67.97% 0.19 136.5)
XYZxyz(20.2267, 33.7320, 6.9582)
Luminance0.3373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB122 #7922B1
analogous
#A2B122 #5AB122 #22B131
triadic
#5AB122 #225AB1 #B1225A
tetradic
#5AB122 #22A2B1 #7922B1 #B13122
square
#5AB122 #22A2B1 #7922B1 #B13122
split-complementary
#5AB122 #3122B1 #B122A2
monochromatic
#264A0E #407E18 #5AB122 #77D938 #9AE36B

Accessibility & contrast

On white

2.71
#5AB122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#5AB122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB122
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB122#FFFFFF#000000##000000
##5AB1221.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#AC9A33
Tritanopia (blue-blind)
#55AA97
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5ab122;
/* rgb */ color: rgb(90, 177, 34);
/* oklch */ color: oklch(68.0% 0.190 136.5);
Tailwind
colors: {
  custom: {
    50: '#91c96a',
    500: '#5ab122',
    950: '#000000',
  },
}
SCSS
$custom: #5ab122;
$custom-light: #91c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab122",
  "rgb": {
    "r": 90,
    "g": 177,
    "b": 34
  },
  "hsl": {
    "h": 96.503,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67968,
    "c": 0.19023,
    "h": 136.5
  },
  "luminance": 0.33733
}

Semantic roles & 50–950 ramp

primary
#5AB122
secondary
#A266C9
accent
#3DEBA7
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB122

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

Preview Lab → · Contrast checker → · Palette generator →

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