#5AB12F#5AB12F

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

Color values

HEX#5AB12F
RGBrgb(90, 177, 47)
HSLhsl(100, 58%, 44%)
HSVhsv(100, 73%, 69%)
CMYKcmyk(49.2%, 0%, 73.4%, 30.6%)
CIE-LABlab(64.82, -48.75, 55.10)
CIE-LCHlch(64.82, 73.57, 131.50°)
OKLaboklab(68.05% -0.135 0.1241)
OKLCHoklch(68.05% 0.183 137.4)
XYZxyz(20.4510, 33.8217, 8.1394)
Luminance0.3382 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB12F #862FB1
analogous
#9BB12F #5AB12F #2FB145
triadic
#5AB12F #2F5AB1 #B12F5A
tetradic
#5AB12F #2F9BB1 #862FB1 #B1452F
square
#5AB12F #2F9BB1 #862FB1 #B1452F
split-complementary
#5AB12F #452FB1 #B12F9B
monochromatic
#295015 #418122 #5AB12F #79D04D #9DDD7E

Accessibility & contrast

On white

2.70
#5AB12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AB12F#FFFFFF#000000##000000
##5AB12F1.002.707.767.76
#FFFFFF2.701.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5ab12f;
/* rgb */ color: rgb(90, 177, 47);
/* oklch */ color: oklch(68.0% 0.183 137.4);
Tailwind
colors: {
  custom: {
    50: '#91c970',
    500: '#5ab12f',
    950: '#000000',
  },
}
SCSS
$custom: #5ab12f;
$custom-light: #91c970;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab12f",
  "rgb": {
    "r": 90,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 100.154,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68049,
    "c": 0.18343,
    "h": 137.4
  },
  "luminance": 0.33823
}

Semantic roles & 50–950 ramp

primary
#5AB12F
secondary
#AB76C5
accent
#47E1AE
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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