#5AB12A#5AB12A

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

Color values

HEX#5AB12A
RGBrgb(90, 177, 42)
HSLhsl(99, 62%, 43%)
HSVhsv(99, 76%, 69%)
CMYKcmyk(49.2%, 0%, 76.3%, 30.6%)
CIE-LABlab(64.79, -49.09, 56.81)
CIE-LCHlch(64.79, 75.08, 130.83°)
OKLaboklab(68.02% -0.1363 0.127)
OKLCHoklch(68.02% 0.186 137)
XYZxyz(20.3559, 33.7837, 7.6383)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB12A #812AB1
analogous
#9DB12A #5AB12A #2AB13E
triadic
#5AB12A #2A5AB1 #B12A5A
tetradic
#5AB12A #2A9DB1 #812AB1 #B13E2A
square
#5AB12A #2A9DB1 #812AB1 #B13E2A
split-complementary
#5AB12A #3E2AB1 #B12A9D
monochromatic
#284E13 #41801E #5AB12A #78D345 #9CDF77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AB12A#FFFFFF#000000##000000
##5AB12A1.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)
#B7A209
Deuteranopia (green-blind)
#AC9A38
Tritanopia (blue-blind)
#55AB97
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5ab12a;
/* rgb */ color: rgb(90, 177, 42);
/* oklch */ color: oklch(68.0% 0.186 137.0);
Tailwind
colors: {
  custom: {
    50: '#91c96e',
    500: '#5ab12a',
    950: '#000000',
  },
}
SCSS
$custom: #5ab12a;
$custom-light: #91c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab12a",
  "rgb": {
    "r": 90,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 98.667,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68015,
    "c": 0.18627,
    "h": 137
  },
  "luminance": 0.33785
}

Semantic roles & 50–950 ramp

primary
#5AB12A
secondary
#A870C6
accent
#43E5AB
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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