#31BF5A#31BF5A

#31BF5A is a light, vivid green. Relative luminance 0.387; OKLCH L 70.9% C 0.185 H 148.4°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#31BF5A
RGBrgb(49, 191, 90)
HSLhsl(137, 59%, 47%)
HSVhsv(137, 74%, 75%)
CMYKcmyk(74.3%, 0%, 52.9%, 25.1%)
CIE-LABlab(68.50, -58.43, 40.18)
CIE-LCHlch(68.50, 70.91, 145.49°)
OKLaboklab(70.89% -0.1571 0.0967)
OKLCHoklch(70.89% 0.185 148.4)
XYZxyz(21.7412, 38.6502, 15.9853)
Luminance0.3865 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BF5A #BF3196
analogous
#4FBF31 #31BF5A #31BFA1
triadic
#31BF5A #5A31BF #BF5A31
tetradic
#31BF5A #314FBF #BF3196 #BFA131
square
#31BF5A #314FBF #BF3196 #BFA131
split-complementary
#31BF5A #A131BF #BF314F
monochromatic
#185E2C #258E43 #31BF5A #59D47D #8AE1A3

Accessibility & contrast

On white

2.41
#31BF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#31BF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BF5A
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BF5A#FFFFFF#000000##000000
##31BF5A1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE51
Deuteranopia (green-blind)
#B0A362
Tritanopia (blue-blind)
#00BBA8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31bf5a;
/* rgb */ color: rgb(49, 191, 90);
/* oklch */ color: oklch(70.9% 0.185 148.4);
Tailwind
colors: {
  custom: {
    50: '#7ed38b',
    500: '#31bf5a',
    950: '#000000',
  },
}
SCSS
$custom: #31bf5a;
$custom-light: #7ed38b;
$custom-dark: #000000;
JSON
{
  "hex": "#31bf5a",
  "rgb": {
    "r": 49,
    "g": 191,
    "b": 90
  },
  "hsl": {
    "h": 137.324,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70887,
    "c": 0.18451,
    "h": 148.4
  },
  "luminance": 0.38653
}

Semantic roles & 50–950 ramp

primary
#31BF5A
secondary
#CB81B5
accent
#45B5E2
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0B140C
muted
#7C837D

Preview Lab

Preview with #31BF5A

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

Preview Lab → · Contrast checker → · Palette generator →

#31BF5A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva