#31BF4F#31BF4F

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

Color values

HEX#31BF4F
RGBrgb(49, 191, 79)
HSLhsl(133, 59%, 47%)
HSVhsv(133, 74%, 75%)
CMYKcmyk(74.3%, 0%, 58.6%, 25.1%)
CIE-LABlab(68.37, -59.93, 45.25)
CIE-LCHlch(68.37, 75.09, 142.95°)
OKLaboklab(70.74% -0.1614 0.1071)
OKLCHoklch(70.74% 0.194 146.4)
XYZxyz(21.3071, 38.4766, 13.6994)
Luminance0.3848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BF4F #BF31A1
analogous
#5ABF31 #31BF4F #31BF96
triadic
#31BF4F #4F31BF #BF4F31
tetradic
#31BF4F #315ABF #BF31A1 #BF9631
square
#31BF4F #315ABF #BF31A1 #BF9631
split-complementary
#31BF4F #9631BF #BF315A
monochromatic
#185E27 #258E3B #31BF4F #59D473 #8AE19C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31BF4F#FFFFFF#000000##000000
##31BF4F1.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)
#C2AE44
Deuteranopia (green-blind)
#B1A258
Tritanopia (blue-blind)
#00BBA7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31bf4f;
/* rgb */ color: rgb(49, 191, 79);
/* oklch */ color: oklch(70.7% 0.194 146.4);
Tailwind
colors: {
  custom: {
    50: '#7fd384',
    500: '#31bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #31bf4f;
$custom-light: #7fd384;
$custom-dark: #000000;
JSON
{
  "hex": "#31bf4f",
  "rgb": {
    "r": 49,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 132.676,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70741,
    "c": 0.19372,
    "h": 146.4
  },
  "luminance": 0.38479
}

Semantic roles & 50–950 ramp

primary
#31BF4F
secondary
#CB81BB
accent
#45C1E2
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #31BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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