#31C962#31C962

#31C962 is a light, vivid green. Relative luminance 0.433; OKLCH L 73.6% C 0.190 H 149.2°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#31C962
RGBrgb(49, 201, 98)
HSLhsl(139, 61%, 49%)
HSVhsv(139, 76%, 79%)
CMYKcmyk(75.6%, 0%, 51.2%, 21.2%)
CIE-LABlab(71.76, -60.70, 40.29)
CIE-LCHlch(71.76, 72.85, 146.43°)
OKLaboklab(73.62% -0.1631 0.0974)
OKLCHoklch(73.62% 0.19 149.2)
XYZxyz(24.3559, 43.3052, 18.6280)
Luminance0.4331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C962 #C93198
analogous
#4CC931 #31C962 #31C9AE
triadic
#31C962 #6231C9 #C96231
tetradic
#31C962 #314CC9 #C93198 #C9AE31
square
#31C962 #314CC9 #C93198 #C9AE31
split-complementary
#31C962 #AE31C9 #C9314C
monochromatic
#196732 #25984A #31C962 #5FD886 #90E4AB

Accessibility & contrast

On white

2.17
#31C962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#31C962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C962
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C962#FFFFFF#000000##000000
##31C9621.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB759
Deuteranopia (green-blind)
#B9AB6A
Tritanopia (blue-blind)
#00C5B1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #31c962;
/* rgb */ color: rgb(49, 201, 98);
/* oklch */ color: oklch(73.6% 0.190 149.2);
Tailwind
colors: {
  custom: {
    50: '#80db91',
    500: '#31c962',
    950: '#000000',
  },
}
SCSS
$custom: #31c962;
$custom-light: #80db91;
$custom-dark: #000000;
JSON
{
  "hex": "#31c962",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 139.342,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73622,
    "c": 0.18999,
    "h": 149.2
  },
  "luminance": 0.43308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31C962

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

Preview Lab → · Contrast checker → · Palette generator →

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