#31B866#31B866

#31B866 is a light, vivid green. Relative luminance 0.359; OKLCH L 69.2% C 0.165 H 151.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#31B866
RGBrgb(49, 184, 102)
HSLhsl(144, 58%, 46%)
HSVhsv(144, 73%, 72%)
CMYKcmyk(73.4%, 0%, 44.6%, 27.8%)
CIE-LABlab(66.44, -54.00, 31.56)
CIE-LCHlch(66.44, 62.55, 149.70°)
OKLaboklab(69.24% -0.1453 0.0777)
OKLCHoklch(69.24% 0.165 151.9)
XYZxyz(20.8036, 35.8909, 18.3990)
Luminance0.3589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B866 #B83183
analogous
#3FB831 #31B866 #31B8AA
triadic
#31B866 #6631B8 #B86631
tetradic
#31B866 #313FB8 #B83183 #B8AA31
square
#31B866 #313FB8 #B83183 #B8AA31
split-complementary
#31B866 #AA31B8 #B8313F
monochromatic
#175730 #24884B #31B866 #55D286 #85DEA8

Accessibility & contrast

On white

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

On black

8.18
#31B866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B866
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B866#FFFFFF#000000##000000
##31B8661.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A860
Deuteranopia (green-blind)
#A89D6C
Tritanopia (blue-blind)
#00B5A4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b866;
/* rgb */ color: rgb(49, 184, 102);
/* oklch */ color: oklch(69.2% 0.165 151.9);
Tailwind
colors: {
  custom: {
    50: '#7cce93',
    500: '#31b866',
    950: '#000000',
  },
}
SCSS
$custom: #31b866;
$custom-light: #7cce93;
$custom-dark: #000000;
JSON
{
  "hex": "#31b866",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 102
  },
  "hsl": {
    "h": 143.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69236,
    "c": 0.16481,
    "h": 151.9
  },
  "luminance": 0.35893
}

Semantic roles & 50–950 ramp

primary
#31B866
secondary
#C87DAA
accent
#47A4E1
background
#F8FCF9
surface
#EFF9F1
border
#CAD2CB
text
#0B140D
muted
#7C827E

Preview Lab

Preview with #31B866

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

Preview Lab → · Contrast checker → · Palette generator →

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