#31B38C#31B38C

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

Color values

HEX#31B38C
RGBrgb(49, 179, 140)
HSLhsl(162, 57%, 45%)
HSVhsv(162, 73%, 70%)
CMYKcmyk(72.6%, 0%, 21.8%, 29.8%)
CIE-LABlab(65.58, -44.10, 10.00)
CIE-LCHlch(65.58, 45.22, 167.22°)
OKLaboklab(68.77% -0.1225 0.0256)
OKLCHoklch(68.77% 0.125 168.2)
XYZxyz(22.1178, 34.7840, 30.3542)
Luminance0.3479 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B38C #B33158
analogous
#31B34B #31B38C #3199B3
triadic
#31B38C #8C31B3 #B38C31
tetradic
#31B38C #4B31B3 #B33158 #99B331
square
#31B38C #4B31B3 #B33158 #99B331
split-complementary
#31B38C #B33199 #B34B31
monochromatic
#175341 #248366 #31B38C #52D0AA #82DDC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B38C#FFFFFF#000000##000000
##31B38C1.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)
#AEA78A
Deuteranopia (green-blind)
#9D9A8F
Tritanopia (blue-blind)
#00B4A8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b38c;
/* rgb */ color: rgb(49, 179, 140);
/* oklch */ color: oklch(68.8% 0.125 168.2);
Tailwind
colors: {
  custom: {
    50: '#7ccaad',
    500: '#31b38c',
    950: '#000000',
  },
}
SCSS
$custom: #31b38c;
$custom-light: #7ccaad;
$custom-dark: #000000;
JSON
{
  "hex": "#31b38c",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 140
  },
  "hsl": {
    "h": 162,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6877,
    "c": 0.12513,
    "h": 168.2
  },
  "luminance": 0.34787
}

Semantic roles & 50–950 ramp

primary
#31B38C
secondary
#C67A91
accent
#4875E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B38C

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

Preview Lab → · Contrast checker → · Palette generator →

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