#31BF4A#31BF4A

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

Color values

HEX#31BF4A
RGBrgb(49, 191, 74)
HSLhsl(131, 59%, 47%)
HSVhsv(131, 74%, 75%)
CMYKcmyk(74.3%, 0%, 61.3%, 25.1%)
CIE-LABlab(68.32, -60.54, 47.46)
CIE-LCHlch(68.32, 76.93, 141.90°)
OKLaboklab(70.68% -0.1633 0.1114)
OKLCHoklch(70.68% 0.198 145.7)
XYZxyz(21.1320, 38.4065, 12.7767)
Luminance0.3841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BF4A #BF31A6
analogous
#5FBF31 #31BF4A #31BF91
triadic
#31BF4A #4A31BF #BF4A31
tetradic
#31BF4A #315FBF #BF31A6 #BF9131
square
#31BF4A #315FBF #BF31A6 #BF9131
split-complementary
#31BF4A #9131BF #BF315F
monochromatic
#185E24 #258E37 #31BF4A #59D46F #8AE199

Accessibility & contrast

On white

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

On black

8.68
#31BF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BF4A
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BF4A#FFFFFF#000000##000000
##31BF4A1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31bf4a;
/* rgb */ color: rgb(49, 191, 74);
/* oklch */ color: oklch(70.7% 0.198 145.7);
Tailwind
colors: {
  custom: {
    50: '#7fd481',
    500: '#31bf4a',
    950: '#000000',
  },
}
SCSS
$custom: #31bf4a;
$custom-light: #7fd481;
$custom-dark: #000000;
JSON
{
  "hex": "#31bf4a",
  "rgb": {
    "r": 49,
    "g": 191,
    "b": 74
  },
  "hsl": {
    "h": 130.563,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70682,
    "c": 0.19767,
    "h": 145.7
  },
  "luminance": 0.38409
}

Semantic roles & 50–950 ramp

primary
#31BF4A
secondary
#CB81BE
accent
#45C7E2
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #31BF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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