#31B962#31B962

#31B962 is a light, vivid green. Relative luminance 0.362; OKLCH L 69.4% C 0.170 H 150.7°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#31B962
RGBrgb(49, 185, 98)
HSLhsl(142, 58%, 46%)
HSVhsv(142, 74%, 73%)
CMYKcmyk(73.5%, 0%, 47%, 27.5%)
CIE-LABlab(66.70, -55.05, 33.94)
CIE-LCHlch(66.70, 64.67, 148.34°)
OKLaboklab(69.43% -0.1481 0.0831)
OKLCHoklch(69.43% 0.17 150.7)
XYZxyz(20.8184, 36.2303, 17.4489)
Luminance0.3623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B962 #B93188
analogous
#44B931 #31B962 #31B9A6
triadic
#31B962 #6231B9 #B96231
tetradic
#31B962 #3144B9 #B93188 #B9A631
square
#31B962 #3144B9 #B93188 #B9A631
split-complementary
#31B962 #A631B9 #B93144
monochromatic
#17582F #248948 #31B962 #55D282 #86DFA6

Accessibility & contrast

On white

2.55
#31B962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#31B962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B962
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B962#FFFFFF#000000##000000
##31B9621.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA95B
Deuteranopia (green-blind)
#AA9E68
Tritanopia (blue-blind)
#00B6A4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b962;
/* rgb */ color: rgb(49, 185, 98);
/* oklch */ color: oklch(69.4% 0.170 150.7);
Tailwind
colors: {
  custom: {
    50: '#7dcf90',
    500: '#31b962',
    950: '#000000',
  },
}
SCSS
$custom: #31b962;
$custom-light: #7dcf90;
$custom-dark: #000000;
JSON
{
  "hex": "#31b962",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 98
  },
  "hsl": {
    "h": 141.618,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69431,
    "c": 0.16977,
    "h": 150.7
  },
  "luminance": 0.36233
}

Semantic roles & 50–950 ramp

primary
#31B962
secondary
#C87DAD
accent
#46AAE1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B962

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

Preview Lab → · Contrast checker → · Palette generator →

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