#31C57F#31C57F

#31C57F is a light, vivid teal. Relative luminance 0.421; OKLCH L 73.1% C 0.159 H 157.2°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#31C57F
RGBrgb(49, 197, 127)
HSLhsl(152, 60%, 48%)
HSVhsv(152, 75%, 77%)
CMYKcmyk(75.1%, 0%, 35.5%, 22.7%)
CIE-LABlab(70.95, -54.16, 24.45)
CIE-LCHlch(70.95, 59.42, 155.71°)
OKLaboklab(73.1% -0.1465 0.0615)
OKLCHoklch(73.1% 0.159 157.2)
XYZxyz(25.0612, 42.1148, 26.8827)
Luminance0.4212 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C57F #C53177
analogous
#31C535 #31C57F #31C1C5
triadic
#31C57F #7F31C5 #C57F31
tetradic
#31C57F #3531C5 #C53177 #C1C531
square
#31C57F #3531C5 #C53177 #C1C531
split-complementary
#31C57F #C531C1 #C53531
monochromatic
#196340 #25945F #31C57F #5DD79D #8EE3BB

Accessibility & contrast

On white

2.23
#31C57F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#31C57F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C57F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C57F#FFFFFF#000000##000000
##31C57F1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B57A
Deuteranopia (green-blind)
#B2A884
Tritanopia (blue-blind)
#00C3B3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #31c57f;
/* rgb */ color: rgb(49, 197, 127);
/* oklch */ color: oklch(73.1% 0.159 157.2);
Tailwind
colors: {
  custom: {
    50: '#7fd8a4',
    500: '#31c57f',
    950: '#000000',
  },
}
SCSS
$custom: #31c57f;
$custom-light: #7fd8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#31c57f",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 127
  },
  "hsl": {
    "h": 151.622,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73097,
    "c": 0.1589,
    "h": 157.2
  },
  "luminance": 0.42118
}

Semantic roles & 50–950 ramp

primary
#31C57F
secondary
#CD85A7
accent
#4490E3
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #31C57F

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

Preview Lab → · Contrast checker → · Palette generator →

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