#31BF54#31BF54

#31BF54 is a light, vivid green. Relative luminance 0.386; OKLCH L 70.8% C 0.190 H 147.3°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#31BF54
RGBrgb(49, 191, 84)
HSLhsl(135, 59%, 47%)
HSVhsv(135, 74%, 75%)
CMYKcmyk(74.3%, 0%, 56%, 25.1%)
CIE-LABlab(68.43, -59.27, 42.97)
CIE-LCHlch(68.43, 73.21, 144.06°)
OKLaboklab(70.8% -0.1595 0.1025)
OKLCHoklch(70.8% 0.19 147.3)
XYZxyz(21.4960, 38.5522, 14.6942)
Luminance0.3856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BF54 #BF319C
analogous
#55BF31 #31BF54 #31BF9B
triadic
#31BF54 #5431BF #BF5431
tetradic
#31BF54 #3155BF #BF319C #BF9B31
square
#31BF54 #3155BF #BF319C #BF9B31
split-complementary
#31BF54 #9B31BF #BF3155
monochromatic
#185E29 #258E3F #31BF54 #59D477 #8AE19F

Accessibility & contrast

On white

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

On black

8.71
#31BF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BF54
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BF54#FFFFFF#000000##000000
##31BF541.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE4A
Deuteranopia (green-blind)
#B1A25C
Tritanopia (blue-blind)
#00BBA7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31bf54;
/* rgb */ color: rgb(49, 191, 84);
/* oklch */ color: oklch(70.8% 0.190 147.3);
Tailwind
colors: {
  custom: {
    50: '#7ed387',
    500: '#31bf54',
    950: '#000000',
  },
}
SCSS
$custom: #31bf54;
$custom-light: #7ed387;
$custom-dark: #000000;
JSON
{
  "hex": "#31bf54",
  "rgb": {
    "r": 49,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 134.789,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70804,
    "c": 0.18962,
    "h": 147.3
  },
  "luminance": 0.38555
}

Semantic roles & 50–950 ramp

primary
#31BF54
secondary
#CB81B9
accent
#45BCE2
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0B140B
muted
#7C837C

Preview Lab

Preview with #31BF54

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

Preview Lab → · Contrast checker → · Palette generator →

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