#31AB87#31AB87

#31AB87 is a light, moderate teal. Relative luminance 0.315; OKLCH L 66.6% C 0.119 H 168.8°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#31AB87
RGBrgb(49, 171, 135)
HSLhsl(162, 55%, 43%)
HSVhsv(162, 71%, 67%)
CMYKcmyk(71.3%, 0%, 21.1%, 32.9%)
CIE-LABlab(62.95, -41.91, 9.03)
CIE-LCHlch(62.95, 42.87, 167.84°)
OKLaboklab(66.57% -0.1167 0.0231)
OKLCHoklch(66.57% 0.119 168.8)
XYZxyz(20.2004, 31.5257, 27.9374)
Luminance0.3153 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB87 #AB3155
analogous
#31AB4A #31AB87 #3192AB
triadic
#31AB87 #8731AB #AB8731
tetradic
#31AB87 #4A31AB #AB3155 #92AB31
square
#31AB87 #4A31AB #AB3155 #92AB31
split-complementary
#31AB87 #AB3192 #AB4A31
monochromatic
#164C3C #237B61 #31AB87 #4DCCA7 #7DDABE

Accessibility & contrast

On white

2.87
#31AB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#31AB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB87
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB87#FFFFFF#000000##000000
##31AB871.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69F85
Deuteranopia (green-blind)
#969489
Tritanopia (blue-blind)
#00ACA1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31ab87;
/* rgb */ color: rgb(49, 171, 135);
/* oklch */ color: oklch(66.6% 0.119 168.8);
Tailwind
colors: {
  custom: {
    50: '#7ac5aa',
    500: '#31ab87',
    950: '#000000',
  },
}
SCSS
$custom: #31ab87;
$custom-light: #7ac5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab87",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 135
  },
  "hsl": {
    "h": 162.295,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66575,
    "c": 0.11895,
    "h": 168.8
  },
  "luminance": 0.31528
}

Semantic roles & 50–950 ramp

primary
#31AB87
secondary
#C2758C
accent
#4975DF
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0A1310
muted
#7C827F

Preview Lab

Preview with #31AB87

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

Preview Lab → · Contrast checker → · Palette generator →

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