#31C97B#31C97B

#31C97B is a light, vivid green. Relative luminance 0.439; OKLCH L 74.0% C 0.168 H 155.2°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#31C97B
RGBrgb(49, 201, 123)
HSLhsl(149, 61%, 49%)
HSVhsv(149, 76%, 79%)
CMYKcmyk(75.6%, 0%, 38.8%, 21.2%)
CIE-LABlab(72.13, -56.44, 28.12)
CIE-LCHlch(72.13, 63.06, 153.52°)
OKLaboklab(74.05% -0.1522 0.0702)
OKLCHoklch(74.05% 0.168 155.2)
XYZxyz(25.7260, 43.8533, 25.8437)
Luminance0.4386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C97B #C9317F
analogous
#33C931 #31C97B #31C9C7
triadic
#31C97B #7B31C9 #C97B31
tetradic
#31C97B #3133C9 #C9317F #C9C731
square
#31C97B #3133C9 #C9317F #C9C731
split-complementary
#31C97B #C731C9 #C93133
monochromatic
#19673F #25985D #31C97B #5FD89A #90E4B9

Accessibility & contrast

On white

2.15
#31C97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#31C97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C97B
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C97B#FFFFFF#000000##000000
##31C97B1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B976
Deuteranopia (green-blind)
#B6AC80
Tritanopia (blue-blind)
#00C7B5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #31c97b;
/* rgb */ color: rgb(49, 201, 123);
/* oklch */ color: oklch(74.0% 0.168 155.2);
Tailwind
colors: {
  custom: {
    50: '#80daa2',
    500: '#31c97b',
    950: '#000000',
  },
}
SCSS
$custom: #31c97b;
$custom-light: #80daa2;
$custom-dark: #000000;
JSON
{
  "hex": "#31c97b",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 123
  },
  "hsl": {
    "h": 149.211,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74047,
    "c": 0.16763,
    "h": 155.2
  },
  "luminance": 0.43856
}

Semantic roles & 50–950 ramp

primary
#31C97B
secondary
#CF87AC
accent
#4496E4
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #31C97B

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

Preview Lab → · Contrast checker → · Palette generator →

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