#5ABF31#5ABF31

#5ABF31 is a light, vivid green. Relative luminance 0.397; OKLCH L 71.7% C 0.199 H 138.4°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#5ABF31
RGBrgb(90, 191, 49)
HSLhsl(103, 59%, 47%)
HSVhsv(103, 74%, 75%)
CMYKcmyk(52.9%, 0%, 74.3%, 25.1%)
CIE-LABlab(69.22, -53.96, 58.78)
CIE-LCHlch(69.22, 79.79, 132.56°)
OKLaboklab(71.68% -0.149 0.1321)
OKLCHoklch(71.68% 0.199 138.4)
XYZxyz(23.4008, 39.6552, 9.3262)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5ABF31 #9631BF
analogous
#A1BF31 #5ABF31 #31BF4F
triadic
#5ABF31 #315ABF #BF315A
tetradic
#5ABF31 #31A1BF #9631BF #BF4F31
square
#5ABF31 #31A1BF #9631BF #BF4F31
split-complementary
#5ABF31 #4F31BF #BF31A1
monochromatic
#2C5E18 #438E25 #5ABF31 #7DD459 #A3E18A

Accessibility & contrast

On white

2.35
#5ABF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#5ABF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5ABF31
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5ABF31#FFFFFF#000000##000000
##5ABF311.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE14
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#51B8A4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #5abf31;
/* rgb */ color: rgb(90, 191, 49);
/* oklch */ color: oklch(71.7% 0.199 138.4);
Tailwind
colors: {
  custom: {
    50: '#92d373',
    500: '#5abf31',
    950: '#000000',
  },
}
SCSS
$custom: #5abf31;
$custom-light: #92d373;
$custom-dark: #000000;
JSON
{
  "hex": "#5abf31",
  "rgb": {
    "r": 90,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 102.676,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71677,
    "c": 0.19911,
    "h": 138.4
  },
  "luminance": 0.39657
}

Semantic roles & 50–950 ramp

primary
#5ABF31
secondary
#B581CB
accent
#45E2B5
background
#F9FDF7
surface
#F2FAED
border
#CCD3C8
text
#0E1409
muted
#7E837B

Preview Lab

Preview with #5ABF31

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

Preview Lab → · Contrast checker → · Palette generator →

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