#31B964#31B964

#31B964 is a light, vivid green. Relative luminance 0.363; OKLCH L 69.5% C 0.168 H 151.2°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#31B964
RGBrgb(49, 185, 100)
HSLhsl(143, 58%, 46%)
HSVhsv(143, 74%, 73%)
CMYKcmyk(73.5%, 0%, 45.9%, 27.5%)
CIE-LABlab(66.72, -54.71, 32.96)
CIE-LCHlch(66.72, 63.87, 148.93°)
OKLaboklab(69.47% -0.1472 0.0809)
OKLCHoklch(69.47% 0.168 151.2)
XYZxyz(20.9141, 36.2686, 17.9524)
Luminance0.3627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B964 #B93186
analogous
#42B931 #31B964 #31B9A8
triadic
#31B964 #6431B9 #B96431
tetradic
#31B964 #3142B9 #B93186 #B9A831
square
#31B964 #3142B9 #B93186 #B9A831
split-complementary
#31B964 #A831B9 #B93142
monochromatic
#175830 #24894A #31B964 #55D284 #86DFA7

Accessibility & contrast

On white

2.54
#31B964 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B964#FFFFFF#000000##000000
##31B9641.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA95D
Deuteranopia (green-blind)
#AA9E6A
Tritanopia (blue-blind)
#00B6A5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b964;
/* rgb */ color: rgb(49, 185, 100);
/* oklch */ color: oklch(69.5% 0.168 151.2);
Tailwind
colors: {
  custom: {
    50: '#7dcf91',
    500: '#31b964',
    950: '#000000',
  },
}
SCSS
$custom: #31b964;
$custom-light: #7dcf91;
$custom-dark: #000000;
JSON
{
  "hex": "#31b964",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 100
  },
  "hsl": {
    "h": 142.5,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69465,
    "c": 0.16795,
    "h": 151.2
  },
  "luminance": 0.36271
}

Semantic roles & 50–950 ramp

primary
#31B964
secondary
#C87DAC
accent
#46A7E1
background
#F8FCF9
surface
#EFF9F1
border
#CAD2CB
text
#0B140D
muted
#7C827E

Preview Lab

Preview with #31B964

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

Preview Lab → · Contrast checker → · Palette generator →

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