#31C78F#31C78F

#31C78F is a light, vivid teal. Relative luminance 0.435; OKLCH L 74.0% C 0.148 H 162.7°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#31C78F
RGBrgb(49, 199, 143)
HSLhsl(158, 60%, 49%)
HSVhsv(158, 75%, 78%)
CMYKcmyk(75.4%, 0%, 28.1%, 22%)
CIE-LABlab(71.88, -51.55, 17.21)
CIE-LCHlch(71.88, 54.35, 161.53°)
OKLaboklab(73.96% -0.141 0.0438)
OKLCHoklch(73.96% 0.148 162.7)
XYZxyz(26.6451, 43.4798, 32.9694)
Luminance0.4348 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C78F #C73169
analogous
#31C744 #31C78F #31B4C7
triadic
#31C78F #8F31C7 #C78F31
tetradic
#31C78F #4431C7 #C73169 #B4C731
square
#31C78F #4431C7 #C73169 #B4C731
split-complementary
#31C78F #C731B4 #C74431
monochromatic
#196548 #25966C #31C78F #5ED7AA #8FE3C4

Accessibility & contrast

On white

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

On black

9.70
#31C78F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C78F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C78F#FFFFFF#000000##000000
##31C78F1.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B88C
Deuteranopia (green-blind)
#B1AB93
Tritanopia (blue-blind)
#00C7B8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #31c78f;
/* rgb */ color: rgb(49, 199, 143);
/* oklch */ color: oklch(74.0% 0.148 162.7);
Tailwind
colors: {
  custom: {
    50: '#80d9b0',
    500: '#31c78f',
    950: '#000000',
  },
}
SCSS
$custom: #31c78f;
$custom-light: #80d9b0;
$custom-dark: #000000;
JSON
{
  "hex": "#31c78f",
  "rgb": {
    "r": 49,
    "g": 199,
    "b": 143
  },
  "hsl": {
    "h": 157.6,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73963,
    "c": 0.14764,
    "h": 162.7
  },
  "luminance": 0.43483
}

Semantic roles & 50–950 ramp

primary
#31C78F
secondary
#CE86A1
accent
#4480E4
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C1510
muted
#7D837F

Preview Lab

Preview with #31C78F

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

Preview Lab → · Contrast checker → · Palette generator →

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