#31BF5F#31BF5F

#31BF5F is a light, vivid green. Relative luminance 0.387; OKLCH L 71.0% C 0.180 H 149.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#31BF5F
RGBrgb(49, 191, 95)
HSLhsl(139, 59%, 47%)
HSVhsv(139, 74%, 75%)
CMYKcmyk(74.3%, 0%, 50.3%, 25.1%)
CIE-LABlab(68.56, -57.67, 37.80)
CIE-LCHlch(68.56, 68.96, 146.76°)
OKLaboklab(70.96% -0.1551 0.0917)
OKLCHoklch(70.96% 0.18 149.4)
XYZxyz(21.9612, 38.7382, 17.1441)
Luminance0.3874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BF5F #BF3191
analogous
#4ABF31 #31BF5F #31BFA6
triadic
#31BF5F #5F31BF #BF5F31
tetradic
#31BF5F #314ABF #BF3191 #BFA631
square
#31BF5F #314ABF #BF3191 #BFA631
split-complementary
#31BF5F #A631BF #BF314A
monochromatic
#185E2F #258E47 #31BF5F #59D481 #8AE1A6

Accessibility & contrast

On white

2.40
#31BF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#31BF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BF5F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BF5F#FFFFFF#000000##000000
##31BF5F1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AE57
Deuteranopia (green-blind)
#B0A366
Tritanopia (blue-blind)
#00BBA9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31bf5f;
/* rgb */ color: rgb(49, 191, 95);
/* oklch */ color: oklch(71.0% 0.180 149.4);
Tailwind
colors: {
  custom: {
    50: '#7ed38e',
    500: '#31bf5f',
    950: '#000000',
  },
}
SCSS
$custom: #31bf5f;
$custom-light: #7ed38e;
$custom-dark: #000000;
JSON
{
  "hex": "#31bf5f",
  "rgb": {
    "r": 49,
    "g": 191,
    "b": 95
  },
  "hsl": {
    "h": 139.437,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70961,
    "c": 0.18013,
    "h": 149.4
  },
  "luminance": 0.38741
}

Semantic roles & 50–950 ramp

primary
#31BF5F
secondary
#CB81B3
accent
#45B0E2
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0B140C
muted
#7C837D

Preview Lab

Preview with #31BF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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