#31B856#31B856

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

Color values

HEX#31B856
RGBrgb(49, 184, 86)
HSLhsl(136, 58%, 46%)
HSVhsv(136, 73%, 72%)
CMYKcmyk(73.4%, 0%, 53.3%, 27.8%)
CIE-LABlab(66.22, -56.56, 39.35)
CIE-LCHlch(66.22, 68.90, 145.18°)
OKLaboklab(68.98% -0.1522 0.0946)
OKLCHoklch(68.98% 0.179 148.1)
XYZxyz(20.0853, 35.6035, 14.6159)
Luminance0.3561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B856 #B83193
analogous
#50B831 #31B856 #31B899
triadic
#31B856 #5631B8 #B85631
tetradic
#31B856 #3150B8 #B83193 #B89931
square
#31B856 #3150B8 #B83193 #B89931
split-complementary
#31B856 #9931B8 #B83150
monochromatic
#175729 #24883F #31B856 #55D277 #85DE9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B856#FFFFFF#000000##000000
##31B8561.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)
#BAA84D
Deuteranopia (green-blind)
#AA9D5D
Tritanopia (blue-blind)
#00B4A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b856;
/* rgb */ color: rgb(49, 184, 86);
/* oklch */ color: oklch(69.0% 0.179 148.1);
Tailwind
colors: {
  custom: {
    50: '#7dce88',
    500: '#31b856',
    950: '#000000',
  },
}
SCSS
$custom: #31b856;
$custom-light: #7dce88;
$custom-dark: #000000;
JSON
{
  "hex": "#31b856",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 86
  },
  "hsl": {
    "h": 136.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68982,
    "c": 0.17921,
    "h": 148.1
  },
  "luminance": 0.35606
}

Semantic roles & 50–950 ramp

primary
#31B856
secondary
#C87DB3
accent
#47B7E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B856

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

Preview Lab → · Contrast checker → · Palette generator →

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