#31BF4C#31BF4C

#31BF4C is a light, vivid green. Relative luminance 0.384; OKLCH L 70.7% C 0.196 H 146.0°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#31BF4C
RGBrgb(49, 191, 76)
HSLhsl(131, 59%, 47%)
HSVhsv(131, 74%, 75%)
CMYKcmyk(74.3%, 0%, 60.2%, 25.1%)
CIE-LABlab(68.34, -60.30, 46.58)
CIE-LCHlch(68.34, 76.20, 142.31°)
OKLaboklab(70.71% -0.1625 0.1097)
OKLCHoklch(70.71% 0.196 146)
XYZxyz(21.2004, 38.4339, 13.1373)
Luminance0.3844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BF4C #BF31A4
analogous
#5DBF31 #31BF4C #31BF93
triadic
#31BF4C #4C31BF #BF4C31
tetradic
#31BF4C #315DBF #BF31A4 #BF9331
square
#31BF4C #315DBF #BF31A4 #BF9331
split-complementary
#31BF4C #9331BF #BF315D
monochromatic
#185E25 #258E39 #31BF4C #59D470 #8AE19A

Accessibility & contrast

On white

2.42
#31BF4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#31BF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BF4C
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BF4C#FFFFFF#000000##000000
##31BF4C1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD40
Deuteranopia (green-blind)
#B2A256
Tritanopia (blue-blind)
#00BAA6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31bf4c;
/* rgb */ color: rgb(49, 191, 76);
/* oklch */ color: oklch(70.7% 0.196 146.0);
Tailwind
colors: {
  custom: {
    50: '#7fd482',
    500: '#31bf4c',
    950: '#000000',
  },
}
SCSS
$custom: #31bf4c;
$custom-light: #7fd482;
$custom-dark: #000000;
JSON
{
  "hex": "#31bf4c",
  "rgb": {
    "r": 49,
    "g": 191,
    "b": 76
  },
  "hsl": {
    "h": 131.408,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70705,
    "c": 0.19611,
    "h": 146
  },
  "luminance": 0.38436
}

Semantic roles & 50–950 ramp

primary
#31BF4C
secondary
#CB81BD
accent
#45C5E2
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #31BF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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