#31BF5B#31BF5B

#31BF5B is a light, vivid green. Relative luminance 0.387; OKLCH L 70.9% C 0.184 H 148.6°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#31BF5B
RGBrgb(49, 191, 91)
HSLhsl(138, 59%, 47%)
HSVhsv(138, 74%, 75%)
CMYKcmyk(74.3%, 0%, 52.4%, 25.1%)
CIE-LABlab(68.51, -58.28, 39.70)
CIE-LCHlch(68.51, 70.52, 145.73°)
OKLaboklab(70.9% -0.1567 0.0957)
OKLCHoklch(70.9% 0.184 148.6)
XYZxyz(21.7840, 38.6674, 16.2110)
Luminance0.3867 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BF5B #BF3195
analogous
#4EBF31 #31BF5B #31BFA2
triadic
#31BF5B #5B31BF #BF5B31
tetradic
#31BF5B #314EBF #BF3195 #BFA231
square
#31BF5B #314EBF #BF3195 #BFA231
split-complementary
#31BF5B #A231BF #BF314E
monochromatic
#185E2D #258E44 #31BF5B #59D47D #8AE1A3

Accessibility & contrast

On white

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

On black

8.73
#31BF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BF5B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BF5B#FFFFFF#000000##000000
##31BF5B1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE52
Deuteranopia (green-blind)
#B0A362
Tritanopia (blue-blind)
#00BBA8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31bf5b;
/* rgb */ color: rgb(49, 191, 91);
/* oklch */ color: oklch(70.9% 0.184 148.6);
Tailwind
colors: {
  custom: {
    50: '#7ed38b',
    500: '#31bf5b',
    950: '#000000',
  },
}
SCSS
$custom: #31bf5b;
$custom-light: #7ed38b;
$custom-dark: #000000;
JSON
{
  "hex": "#31bf5b",
  "rgb": {
    "r": 49,
    "g": 191,
    "b": 91
  },
  "hsl": {
    "h": 137.746,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70901,
    "c": 0.18364,
    "h": 148.6
  },
  "luminance": 0.3867
}

Semantic roles & 50–950 ramp

primary
#31BF5B
secondary
#CB81B5
accent
#45B4E2
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0B140C
muted
#7C837D

Preview Lab

Preview with #31BF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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