#31B898#31B898

#31B898 is a light, vivid teal. Relative luminance 0.372; OKLCH L 70.4% C 0.123 H 172.8°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#31B898
RGBrgb(49, 184, 152)
HSLhsl(166, 58%, 46%)
HSVhsv(166, 73%, 72%)
CMYKcmyk(73.4%, 0%, 17.4%, 27.8%)
CIE-LABlab(67.43, -43.25, 6.04)
CIE-LCHlch(67.43, 43.67, 172.05°)
OKLaboklab(70.38% -0.1218 0.0153)
OKLCHoklch(70.38% 0.123 172.8)
XYZxyz(24.0717, 37.1981, 35.6110)
Luminance0.3720 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B898 #B83151
analogous
#31B854 #31B898 #3194B8
triadic
#31B898 #9831B8 #B89831
tetradic
#31B898 #5431B8 #B83151 #94B831
square
#31B898 #5431B8 #B83151 #94B831
split-complementary
#31B898 #B83194 #B85431
monochromatic
#175748 #248870 #31B898 #55D2B4 #85DEC9

Accessibility & contrast

On white

2.49
#31B898 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#31B898 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B898
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B898#FFFFFF#000000##000000
##31B8981.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2AC96
Deuteranopia (green-blind)
#A09F9A
Tritanopia (blue-blind)
#00BAAF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b898;
/* rgb */ color: rgb(49, 184, 152);
/* oklch */ color: oklch(70.4% 0.123 172.8);
Tailwind
colors: {
  custom: {
    50: '#7dceb6',
    500: '#31b898',
    950: '#000000',
  },
}
SCSS
$custom: #31b898;
$custom-light: #7dceb6;
$custom-dark: #000000;
JSON
{
  "hex": "#31b898",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 152
  },
  "hsl": {
    "h": 165.778,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70375,
    "c": 0.12279,
    "h": 172.8
  },
  "luminance": 0.37201
}

Semantic roles & 50–950 ramp

primary
#31B898
secondary
#C87D8F
accent
#476BE1
background
#F8FCFB
surface
#EFF9F6
border
#CAD2D0
text
#0B1411
muted
#7C8280

Preview Lab

Preview with #31B898

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

Preview Lab → · Contrast checker → · Palette generator →

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