#31AB8A#31AB8A

#31AB8A is a light, moderate teal. Relative luminance 0.316; OKLCH L 66.7% C 0.117 H 170.6°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#31AB8A
RGBrgb(49, 171, 138)
HSLhsl(164, 55%, 43%)
HSVhsv(164, 71%, 67%)
CMYKcmyk(71.3%, 0%, 19.3%, 32.9%)
CIE-LABlab(63.02, -41.17, 7.47)
CIE-LCHlch(63.02, 41.84, 169.72°)
OKLaboklab(66.66% -0.1152 0.019)
OKLCHoklch(66.66% 0.117 170.6)
XYZxyz(20.4146, 31.6114, 29.0655)
Luminance0.3161 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB8A #AB3152
analogous
#31AB4D #31AB8A #318FAB
triadic
#31AB8A #8A31AB #AB8A31
tetradic
#31AB8A #4D31AB #AB3152 #8FAB31
square
#31AB8A #4D31AB #AB3152 #8FAB31
split-complementary
#31AB8A #AB318F #AB4D31
monochromatic
#164C3D #237B64 #31AB8A #4DCCAA #7DDAC1

Accessibility & contrast

On white

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

On black

7.32
#31AB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB8A
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB8A#FFFFFF#000000##000000
##31AB8A1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69F88
Deuteranopia (green-blind)
#96948C
Tritanopia (blue-blind)
#00ACA2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31ab8a;
/* rgb */ color: rgb(49, 171, 138);
/* oklch */ color: oklch(66.7% 0.117 170.6);
Tailwind
colors: {
  custom: {
    50: '#7ac5ac',
    500: '#31ab8a',
    950: '#000000',
  },
}
SCSS
$custom: #31ab8a;
$custom-light: #7ac5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab8a",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 138
  },
  "hsl": {
    "h": 163.77,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66658,
    "c": 0.1168,
    "h": 170.6
  },
  "luminance": 0.31614
}

Semantic roles & 50–950 ramp

primary
#31AB8A
secondary
#C2758A
accent
#4972DF
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0A1310
muted
#7C827F

Preview Lab

Preview with #31AB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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