#31B855#31B855

#31B855 is a light, vivid green. Relative luminance 0.356; OKLCH L 69.0% C 0.180 H 147.9°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#31B855
RGBrgb(49, 184, 85)
HSLhsl(136, 58%, 46%)
HSVhsv(136, 73%, 72%)
CMYKcmyk(73.4%, 0%, 53.8%, 27.8%)
CIE-LABlab(66.20, -56.71, 39.82)
CIE-LCHlch(66.20, 69.29, 144.92°)
OKLaboklab(68.97% -0.1526 0.0956)
OKLCHoklch(68.97% 0.18 147.9)
XYZxyz(20.0453, 35.5875, 14.4052)
Luminance0.3559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B855 #B83194
analogous
#50B831 #31B855 #31B898
triadic
#31B855 #5531B8 #B85531
tetradic
#31B855 #3150B8 #B83194 #B89831
square
#31B855 #3150B8 #B83194 #B89831
split-complementary
#31B855 #9831B8 #B83150
monochromatic
#175728 #24883F #31B855 #55D276 #85DE9D

Accessibility & contrast

On white

2.59
#31B855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#31B855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B855
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B855#FFFFFF#000000##000000
##31B8551.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA84C
Deuteranopia (green-blind)
#AA9D5C
Tritanopia (blue-blind)
#00B4A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b855;
/* rgb */ color: rgb(49, 184, 85);
/* oklch */ color: oklch(69.0% 0.180 147.9);
Tailwind
colors: {
  custom: {
    50: '#7dce87',
    500: '#31b855',
    950: '#000000',
  },
}
SCSS
$custom: #31b855;
$custom-light: #7dce87;
$custom-dark: #000000;
JSON
{
  "hex": "#31b855",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 85
  },
  "hsl": {
    "h": 136,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68968,
    "c": 0.18009,
    "h": 147.9
  },
  "luminance": 0.3559
}

Semantic roles & 50–950 ramp

primary
#31B855
secondary
#C87DB4
accent
#47B8E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B855

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

Preview Lab → · Contrast checker → · Palette generator →

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