#31AB7F#31AB7F

#31AB7F is a light, vivid teal. Relative luminance 0.313; OKLCH L 66.4% C 0.125 H 164.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#31AB7F
RGBrgb(49, 171, 127)
HSLhsl(158, 55%, 43%)
HSVhsv(158, 71%, 67%)
CMYKcmyk(71.3%, 0%, 25.7%, 32.9%)
CIE-LABlab(62.77, -43.82, 13.20)
CIE-LCHlch(62.77, 45.77, 163.23°)
OKLaboklab(66.37% -0.1205 0.0337)
OKLCHoklch(66.37% 0.125 164.4)
XYZxyz(19.6582, 31.3088, 25.0817)
Luminance0.3131 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB7F #AB315D
analogous
#31AB42 #31AB7F #319AAB
triadic
#31AB7F #7F31AB #AB7F31
tetradic
#31AB7F #4231AB #AB315D #9AAB31
square
#31AB7F #4231AB #AB315D #9AAB31
split-complementary
#31AB7F #AB319A #AB4231
monochromatic
#164C38 #237B5C #31AB7F #4DCC9E #7DDAB8

Accessibility & contrast

On white

2.89
#31AB7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#31AB7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB7F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB7F#FFFFFF#000000##000000
##31AB7F1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89F7D
Deuteranopia (green-blind)
#989382
Tritanopia (blue-blind)
#00AB9F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31ab7f;
/* rgb */ color: rgb(49, 171, 127);
/* oklch */ color: oklch(66.4% 0.125 164.4);
Tailwind
colors: {
  custom: {
    50: '#7ac5a4',
    500: '#31ab7f',
    950: '#000000',
  },
}
SCSS
$custom: #31ab7f;
$custom-light: #7ac5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab7f",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 127
  },
  "hsl": {
    "h": 158.361,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66367,
    "c": 0.12517,
    "h": 164.4
  },
  "luminance": 0.31311
}

Semantic roles & 50–950 ramp

primary
#31AB7F
secondary
#C27591
accent
#497FDF
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0A130F
muted
#7C827F

Preview Lab

Preview with #31AB7F

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

Preview Lab → · Contrast checker → · Palette generator →

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