#31AB8D#31AB8D

#31AB8D is a light, moderate teal. Relative luminance 0.317; OKLCH L 66.7% C 0.115 H 172.5°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#31AB8D
RGBrgb(49, 171, 141)
HSLhsl(165, 55%, 43%)
HSVhsv(165, 71%, 67%)
CMYKcmyk(71.3%, 0%, 17.5%, 32.9%)
CIE-LABlab(63.09, -40.41, 5.90)
CIE-LCHlch(63.09, 40.84, 171.69°)
OKLaboklab(66.74% -0.1138 0.015)
OKLCHoklch(66.74% 0.115 172.5)
XYZxyz(20.6348, 31.6995, 30.2252)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB8D #AB314F
analogous
#31AB50 #31AB8D #318CAB
triadic
#31AB8D #8D31AB #AB8D31
tetradic
#31AB8D #5031AB #AB314F #8CAB31
square
#31AB8D #5031AB #AB314F #8CAB31
split-complementary
#31AB8D #AB318C #AB5031
monochromatic
#164C3F #237B66 #31AB8D #4DCCAD #7DDAC3

Accessibility & contrast

On white

2.86
#31AB8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#31AB8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB8D
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB8D#FFFFFF#000000##000000
##31AB8D1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5A08C
Deuteranopia (green-blind)
#95948F
Tritanopia (blue-blind)
#00ADA2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31ab8d;
/* rgb */ color: rgb(49, 171, 141);
/* oklch */ color: oklch(66.7% 0.115 172.5);
Tailwind
colors: {
  custom: {
    50: '#7ac5ae',
    500: '#31ab8d',
    950: '#000000',
  },
}
SCSS
$custom: #31ab8d;
$custom-light: #7ac5ae;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab8d",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 141
  },
  "hsl": {
    "h": 165.246,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66742,
    "c": 0.11478,
    "h": 172.5
  },
  "luminance": 0.31702
}

Semantic roles & 50–950 ramp

primary
#31AB8D
secondary
#C27588
accent
#496EDF
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31AB8D

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

Preview Lab → · Contrast checker → · Palette generator →

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