#31B38D#31B38D

#31B38D is a light, vivid teal. Relative luminance 0.348; OKLCH L 68.8% C 0.124 H 168.8°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#31B38D
RGBrgb(49, 179, 141)
HSLhsl(162, 57%, 45%)
HSVhsv(162, 73%, 70%)
CMYKcmyk(72.6%, 0%, 21.2%, 29.8%)
CIE-LABlab(65.60, -43.85, 9.49)
CIE-LCHlch(65.60, 44.87, 167.79°)
OKLaboklab(68.8% -0.122 0.0242)
OKLCHoklch(68.8% 0.124 168.8)
XYZxyz(22.1919, 34.8137, 30.7443)
Luminance0.3482 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B38D #B33157
analogous
#31B34C #31B38D #3198B3
triadic
#31B38D #8D31B3 #B38D31
tetradic
#31B38D #4C31B3 #B33157 #98B331
square
#31B38D #4C31B3 #B33157 #98B331
split-complementary
#31B38D #B33198 #B34C31
monochromatic
#175341 #248367 #31B38D #52D0AB #82DDC2

Accessibility & contrast

On white

2.64
#31B38D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#31B38D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B38D
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B38D#FFFFFF#000000##000000
##31B38D1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA78B
Deuteranopia (green-blind)
#9D9A90
Tritanopia (blue-blind)
#00B4A8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b38d;
/* rgb */ color: rgb(49, 179, 141);
/* oklch */ color: oklch(68.8% 0.124 168.8);
Tailwind
colors: {
  custom: {
    50: '#7ccaae',
    500: '#31b38d',
    950: '#000000',
  },
}
SCSS
$custom: #31b38d;
$custom-light: #7ccaae;
$custom-dark: #000000;
JSON
{
  "hex": "#31b38d",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 141
  },
  "hsl": {
    "h": 162.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68796,
    "c": 0.12439,
    "h": 168.8
  },
  "luminance": 0.34816
}

Semantic roles & 50–950 ramp

primary
#31B38D
secondary
#C67A90
accent
#4874E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B38D

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

Preview Lab → · Contrast checker → · Palette generator →

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