#5AB12E#5AB12E

#5AB12E is a light, vivid yellow-green. Relative luminance 0.338; OKLCH L 68.0% C 0.184 H 137.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#5AB12E
RGBrgb(90, 177, 46)
HSLhsl(100, 59%, 44%)
HSVhsv(100, 74%, 69%)
CMYKcmyk(49.2%, 0%, 74%, 30.6%)
CIE-LABlab(64.81, -48.82, 55.45)
CIE-LCHlch(64.81, 73.88, 131.36°)
OKLaboklab(68.04% -0.1353 0.1247)
OKLCHoklch(68.04% 0.184 137.3)
XYZxyz(20.4311, 33.8138, 8.0344)
Luminance0.3382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB12E #852EB1
analogous
#9BB12E #5AB12E #2EB143
triadic
#5AB12E #2E5AB1 #B12E5A
tetradic
#5AB12E #2E9BB1 #852EB1 #B1432E
square
#5AB12E #2E9BB1 #852EB1 #B1432E
split-complementary
#5AB12E #432EB1 #B12E9B
monochromatic
#295015 #418021 #5AB12E #78D04C #9DDD7C

Accessibility & contrast

On white

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

On black

7.76
#5AB12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB12E
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB12E#FFFFFF#000000##000000
##5AB12E1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A214
Deuteranopia (green-blind)
#AB9B3B
Tritanopia (blue-blind)
#54AB98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5ab12e;
/* rgb */ color: rgb(90, 177, 46);
/* oklch */ color: oklch(68.0% 0.184 137.3);
Tailwind
colors: {
  custom: {
    50: '#91c970',
    500: '#5ab12e',
    950: '#000000',
  },
}
SCSS
$custom: #5ab12e;
$custom-light: #91c970;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab12e",
  "rgb": {
    "r": 90,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 99.847,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68042,
    "c": 0.18403,
    "h": 137.3
  },
  "luminance": 0.33815
}

Semantic roles & 50–950 ramp

primary
#5AB12E
secondary
#AB75C6
accent
#46E2AE
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AB12E

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

Preview Lab → · Contrast checker → · Palette generator →

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