#31B17E#31B17E

#31B17E is a light, vivid teal. Relative luminance 0.336; OKLCH L 67.9% C 0.134 H 161.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#31B17E
RGBrgb(49, 177, 126)
HSLhsl(156, 57%, 44%)
HSVhsv(156, 72%, 69%)
CMYKcmyk(72.3%, 0%, 28.8%, 30.6%)
CIE-LABlab(64.64, -46.53, 16.37)
CIE-LCHlch(64.64, 49.32, 160.62°)
OKLaboklab(67.9% -0.1272 0.0416)
OKLCHoklch(67.9% 0.134 161.9)
XYZxyz(20.7525, 33.6012, 25.1266)
Luminance0.3360 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B17E #B13164
analogous
#31B13E #31B17E #31A4B1
triadic
#31B17E #7E31B1 #B17E31
tetradic
#31B17E #3E31B1 #B13164 #A4B131
square
#31B17E #3E31B1 #B13164 #A4B131
split-complementary
#31B17E #B131A4 #B13E31
monochromatic
#16513A #24815C #31B17E #51CF9C #80DCB7

Accessibility & contrast

On white

2.72
#31B17E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#31B17E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B17E
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B17E#FFFFFF#000000##000000
##31B17E1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA47B
Deuteranopia (green-blind)
#9E9881
Tritanopia (blue-blind)
#00B1A3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b17e;
/* rgb */ color: rgb(49, 177, 126);
/* oklch */ color: oklch(67.9% 0.134 161.9);
Tailwind
colors: {
  custom: {
    50: '#7bc9a3',
    500: '#31b17e',
    950: '#000000',
  },
}
SCSS
$custom: #31b17e;
$custom-light: #7bc9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#31b17e",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 126
  },
  "hsl": {
    "h": 156.094,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67901,
    "c": 0.13381,
    "h": 161.9
  },
  "luminance": 0.33604
}

Semantic roles & 50–950 ramp

primary
#31B17E
secondary
#C57997
accent
#4884E0
background
#F8FCFA
surface
#EFF8F3
border
#CAD1CD
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B17E

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

Preview Lab → · Contrast checker → · Palette generator →

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