#31BF5D#31BF5D

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

Color values

HEX#31BF5D
RGBrgb(49, 191, 93)
HSLhsl(139, 59%, 47%)
HSVhsv(139, 74%, 75%)
CMYKcmyk(74.3%, 0%, 51.3%, 25.1%)
CIE-LABlab(68.54, -57.98, 38.75)
CIE-LCHlch(68.54, 69.74, 146.24°)
OKLaboklab(70.93% -0.1559 0.0937)
OKLCHoklch(70.93% 0.182 149)
XYZxyz(21.8715, 38.7023, 16.6714)
Luminance0.3871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BF5D #BF3193
analogous
#4CBF31 #31BF5D #31BFA4
triadic
#31BF5D #5D31BF #BF5D31
tetradic
#31BF5D #314CBF #BF3193 #BFA431
square
#31BF5D #314CBF #BF3193 #BFA431
split-complementary
#31BF5D #A431BF #BF314C
monochromatic
#185E2E #258E45 #31BF5D #59D47F #8AE1A5

Accessibility & contrast

On white

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

On black

8.74
#31BF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BF5D
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BF5D#FFFFFF#000000##000000
##31BF5D1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31bf5d;
/* rgb */ color: rgb(49, 191, 93);
/* oklch */ color: oklch(70.9% 0.182 149.0);
Tailwind
colors: {
  custom: {
    50: '#7ed38d',
    500: '#31bf5d',
    950: '#000000',
  },
}
SCSS
$custom: #31bf5d;
$custom-light: #7ed38d;
$custom-dark: #000000;
JSON
{
  "hex": "#31bf5d",
  "rgb": {
    "r": 49,
    "g": 191,
    "b": 93
  },
  "hsl": {
    "h": 138.592,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.7093,
    "c": 0.18189,
    "h": 149
  },
  "luminance": 0.38705
}

Semantic roles & 50–950 ramp

primary
#31BF5D
secondary
#CB81B4
accent
#45B2E2
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0B140C
muted
#7C837D

Preview Lab

Preview with #31BF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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