#31C862#31C862

#31C862 is a light, vivid green. Relative luminance 0.428; OKLCH L 73.4% C 0.189 H 149.3°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#31C862
RGBrgb(49, 200, 98)
HSLhsl(139, 61%, 49%)
HSVhsv(139, 76%, 78%)
CMYKcmyk(75.5%, 0%, 51%, 21.6%)
CIE-LABlab(71.45, -60.35, 39.90)
CIE-LCHlch(71.45, 72.35, 146.53°)
OKLaboklab(73.36% -0.1622 0.0965)
OKLCHoklch(73.36% 0.189 149.3)
XYZxyz(24.1235, 42.8405, 18.5506)
Luminance0.4284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C862 #C83197
analogous
#4CC831 #31C862 #31C8AE
triadic
#31C862 #6231C8 #C86231
tetradic
#31C862 #314CC8 #C83197 #C8AE31
square
#31C862 #314CC8 #C83197 #C8AE31
split-complementary
#31C862 #AE31C8 #C8314C
monochromatic
#196632 #25974A #31C862 #5FD886 #90E4AB

Accessibility & contrast

On white

2.19
#31C862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#31C862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C862
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C862#FFFFFF#000000##000000
##31C8621.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB659
Deuteranopia (green-blind)
#B8AA6A
Tritanopia (blue-blind)
#00C4B0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #31c862;
/* rgb */ color: rgb(49, 200, 98);
/* oklch */ color: oklch(73.4% 0.189 149.3);
Tailwind
colors: {
  custom: {
    50: '#80da90',
    500: '#31c862',
    950: '#000000',
  },
}
SCSS
$custom: #31c862;
$custom-light: #80da90;
$custom-dark: #000000;
JSON
{
  "hex": "#31c862",
  "rgb": {
    "r": 49,
    "g": 200,
    "b": 98
  },
  "hsl": {
    "h": 139.47,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73361,
    "c": 0.18876,
    "h": 149.3
  },
  "luminance": 0.42843
}

Semantic roles & 50–950 ramp

primary
#31C862
secondary
#CE86B7
accent
#44B0E4
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #31C862

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

Preview Lab → · Contrast checker → · Palette generator →

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