#31BF51#31BF51

#31BF51 is a light, vivid green. Relative luminance 0.385; OKLCH L 70.8% C 0.192 H 146.8°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#31BF51
RGBrgb(49, 191, 81)
HSLhsl(134, 59%, 47%)
HSVhsv(134, 74%, 75%)
CMYKcmyk(74.3%, 0%, 57.6%, 25.1%)
CIE-LABlab(68.39, -59.67, 44.35)
CIE-LCHlch(68.39, 74.34, 143.38°)
OKLaboklab(70.77% -0.1607 0.1053)
OKLCHoklch(70.77% 0.192 146.8)
XYZxyz(21.3810, 38.5062, 14.0886)
Luminance0.3851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BF51 #BF319F
analogous
#58BF31 #31BF51 #31BF98
triadic
#31BF51 #5131BF #BF5131
tetradic
#31BF51 #3158BF #BF319F #BF9831
square
#31BF51 #3158BF #BF319F #BF9831
split-complementary
#31BF51 #9831BF #BF3158
monochromatic
#185E28 #258E3C #31BF51 #59D475 #8AE19D

Accessibility & contrast

On white

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

On black

8.70
#31BF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BF51
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BF51#FFFFFF#000000##000000
##31BF511.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31bf51;
/* rgb */ color: rgb(49, 191, 81);
/* oklch */ color: oklch(70.8% 0.192 146.8);
Tailwind
colors: {
  custom: {
    50: '#7fd385',
    500: '#31bf51',
    950: '#000000',
  },
}
SCSS
$custom: #31bf51;
$custom-light: #7fd385;
$custom-dark: #000000;
JSON
{
  "hex": "#31bf51",
  "rgb": {
    "r": 49,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 133.521,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70766,
    "c": 0.1921,
    "h": 146.8
  },
  "luminance": 0.38509
}

Semantic roles & 50–950 ramp

primary
#31BF51
secondary
#CB81BA
accent
#45BFE2
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #31BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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