#31C791#31C791

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

Color values

HEX#31C791
RGBrgb(49, 199, 145)
HSLhsl(158, 60%, 49%)
HSVhsv(158, 75%, 78%)
CMYKcmyk(75.4%, 0%, 27.1%, 22%)
CIE-LABlab(71.92, -51.11, 16.20)
CIE-LCHlch(71.92, 53.61, 162.41°)
OKLaboklab(74.01% -0.14 0.0413)
OKLCHoklch(74.01% 0.146 163.6)
XYZxyz(26.7979, 43.5409, 33.7745)
Luminance0.4354 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C791 #C73167
analogous
#31C746 #31C791 #31B2C7
triadic
#31C791 #9131C7 #C79131
tetradic
#31C791 #4631C7 #C73167 #B2C731
square
#31C791 #4631C7 #C73167 #B2C731
split-complementary
#31C791 #C731B2 #C74631
monochromatic
#196549 #25966D #31C791 #5ED7AC #8FE3C5

Accessibility & contrast

On white

2.16
#31C791 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#31C791 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C791
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C791#FFFFFF#000000##000000
##31C7911.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31c791;
/* rgb */ color: rgb(49, 199, 145);
/* oklch */ color: oklch(74.0% 0.146 163.6);
Tailwind
colors: {
  custom: {
    50: '#80d9b1',
    500: '#31c791',
    950: '#000000',
  },
}
SCSS
$custom: #31c791;
$custom-light: #80d9b1;
$custom-dark: #000000;
JSON
{
  "hex": "#31c791",
  "rgb": {
    "r": 49,
    "g": 199,
    "b": 145
  },
  "hsl": {
    "h": 158.4,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.7401,
    "c": 0.14601,
    "h": 163.6
  },
  "luminance": 0.43544
}

Semantic roles & 50–950 ramp

primary
#31C791
secondary
#CE86A0
accent
#447EE4
background
#F8FDFA
surface
#F0FBF5
border
#CBD4CF
text
#0C1510
muted
#7D837F

Preview Lab

Preview with #31C791

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

Preview Lab → · Contrast checker → · Palette generator →

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