#31B860#31B860

#31B860 is a light, vivid green. Relative luminance 0.358; OKLCH L 69.1% C 0.170 H 150.3°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#31B860
RGBrgb(49, 184, 96)
HSLhsl(141, 58%, 46%)
HSVhsv(141, 73%, 72%)
CMYKcmyk(73.4%, 0%, 47.8%, 27.8%)
CIE-LABlab(66.35, -55.02, 34.52)
CIE-LCHlch(66.35, 64.95, 147.89°)
OKLaboklab(69.14% -0.148 0.0843)
OKLCHoklch(69.14% 0.17 150.3)
XYZxyz(20.5167, 35.7761, 16.8883)
Luminance0.3578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B860 #B83189
analogous
#45B831 #31B860 #31B8A3
triadic
#31B860 #6031B8 #B86031
tetradic
#31B860 #3145B8 #B83189 #B8A331
square
#31B860 #3145B8 #B83189 #B8A331
split-complementary
#31B860 #A331B8 #B83145
monochromatic
#17572E #248847 #31B860 #55D280 #85DEA4

Accessibility & contrast

On white

2.57
#31B860 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#31B860 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B860
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B860#FFFFFF#000000##000000
##31B8601.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A859
Deuteranopia (green-blind)
#A99D66
Tritanopia (blue-blind)
#00B5A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b860;
/* rgb */ color: rgb(49, 184, 96);
/* oklch */ color: oklch(69.1% 0.170 150.3);
Tailwind
colors: {
  custom: {
    50: '#7dce8e',
    500: '#31b860',
    950: '#000000',
  },
}
SCSS
$custom: #31b860;
$custom-light: #7dce8e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b860",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 96
  },
  "hsl": {
    "h": 140.889,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69135,
    "c": 0.1703,
    "h": 150.3
  },
  "luminance": 0.35778
}

Semantic roles & 50–950 ramp

primary
#31B860
secondary
#C87DAE
accent
#47ABE1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B860

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

Preview Lab → · Contrast checker → · Palette generator →

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