#31C968#31C968

#31C968 is a light, vivid green. Relative luminance 0.434; OKLCH L 73.7% C 0.185 H 150.4°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#31C968
RGBrgb(49, 201, 104)
HSLhsl(142, 61%, 49%)
HSVhsv(142, 76%, 79%)
CMYKcmyk(75.6%, 0%, 48.3%, 21.2%)
CIE-LABlab(71.84, -59.77, 37.43)
CIE-LCHlch(71.84, 70.52, 147.94°)
OKLaboklab(73.71% -0.1606 0.0912)
OKLCHoklch(73.71% 0.185 150.4)
XYZxyz(24.6499, 43.4228, 20.1763)
Luminance0.4343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C968 #C93192
analogous
#46C931 #31C968 #31C9B4
triadic
#31C968 #6831C9 #C96831
tetradic
#31C968 #3146C9 #C93192 #C9B431
square
#31C968 #3146C9 #C93192 #C9B431
split-complementary
#31C968 #B431C9 #C93146
monochromatic
#196735 #25984F #31C968 #5FD88B #90E4AF

Accessibility & contrast

On white

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

On black

9.69
#31C968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C968
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C968#FFFFFF#000000##000000
##31C9681.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB860
Deuteranopia (green-blind)
#B9AB6F
Tritanopia (blue-blind)
#00C6B2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #31c968;
/* rgb */ color: rgb(49, 201, 104);
/* oklch */ color: oklch(73.7% 0.185 150.4);
Tailwind
colors: {
  custom: {
    50: '#80db95',
    500: '#31c968',
    950: '#000000',
  },
}
SCSS
$custom: #31c968;
$custom-light: #80db95;
$custom-dark: #000000;
JSON
{
  "hex": "#31c968",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 104
  },
  "hsl": {
    "h": 141.711,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73714,
    "c": 0.18473,
    "h": 150.4
  },
  "luminance": 0.43426
}

Semantic roles & 50–950 ramp

primary
#31C968
secondary
#CF87B5
accent
#44AAE4
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #31C968

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

Preview Lab → · Contrast checker → · Palette generator →

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