#5ABC31#5ABC31

#5ABC31 is a light, vivid green. Relative luminance 0.384; OKLCH L 70.9% C 0.196 H 138.3°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#5ABC31
RGBrgb(90, 188, 49)
HSLhsl(102, 59%, 46%)
HSVhsv(102, 74%, 74%)
CMYKcmyk(52.1%, 0%, 73.9%, 26.3%)
CIE-LABlab(68.29, -52.84, 57.84)
CIE-LCHlch(68.29, 78.34, 132.41°)
OKLaboklab(70.9% -0.1459 0.1301)
OKLCHoklch(70.9% 0.196 138.3)
XYZxyz(22.7532, 38.3601, 9.1104)
Luminance0.3836 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5ABC31 #9331BC
analogous
#A0BC31 #5ABC31 #31BC4E
triadic
#5ABC31 #315ABC #BC315A
tetradic
#5ABC31 #31A0BC #9331BC #BC4E31
square
#5ABC31 #31A0BC #9331BC #BC4E31
split-complementary
#5ABC31 #4E31BC #BC31A0
monochromatic
#2C5B18 #438B24 #5ABC31 #7CD357 #A2E088

Accessibility & contrast

On white

2.42
#5ABC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#5ABC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5ABC31
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5ABC31#FFFFFF#000000##000000
##5ABC311.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC15
Deuteranopia (green-blind)
#B5A33F
Tritanopia (blue-blind)
#52B5A1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #5abc31;
/* rgb */ color: rgb(90, 188, 49);
/* oklch */ color: oklch(70.9% 0.196 138.3);
Tailwind
colors: {
  custom: {
    50: '#92d172',
    500: '#5abc31',
    950: '#000000',
  },
}
SCSS
$custom: #5abc31;
$custom-light: #92d172;
$custom-dark: #000000;
JSON
{
  "hex": "#5abc31",
  "rgb": {
    "r": 90,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 102.302,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70904,
    "c": 0.19555,
    "h": 138.3
  },
  "luminance": 0.38362
}

Semantic roles & 50–950 ramp

primary
#5ABC31
secondary
#B47FCA
accent
#46E2B4
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1408
muted
#7E827B

Preview Lab

Preview with #5ABC31

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

Preview Lab → · Contrast checker → · Palette generator →

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