#31B08B#31B08B

#31B08B is a light, vivid teal. Relative luminance 0.336; OKLCH L 68.0% C 0.122 H 168.9°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#31B08B
RGBrgb(49, 176, 139)
HSLhsl(163, 56%, 44%)
HSVhsv(163, 72%, 69%)
CMYKcmyk(72.2%, 0%, 21%, 31%)
CIE-LABlab(64.62, -43.07, 9.19)
CIE-LCHlch(64.62, 44.04, 167.96°)
OKLaboklab(67.97% -0.1199 0.0235)
OKLCHoklch(67.97% 0.122 168.9)
XYZxyz(21.4497, 33.5652, 29.7694)
Luminance0.3357 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B08B #B03156
analogous
#31B04C #31B08B #3196B0
triadic
#31B08B #8B31B0 #B08B31
tetradic
#31B08B #4C31B0 #B03156 #96B031
square
#31B08B #4C31B0 #B03156 #96B031
split-complementary
#31B08B #B03196 #B04C31
monochromatic
#16503F #248065 #31B08B #50CEA9 #80DCC1

Accessibility & contrast

On white

2.72
#31B08B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#31B08B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B08B
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B08B#FFFFFF#000000##000000
##31B08B1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA489
Deuteranopia (green-blind)
#9B988E
Tritanopia (blue-blind)
#00B1A5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b08b;
/* rgb */ color: rgb(49, 176, 139);
/* oklch */ color: oklch(68.0% 0.122 168.9);
Tailwind
colors: {
  custom: {
    50: '#7bc8ac',
    500: '#31b08b',
    950: '#000000',
  },
}
SCSS
$custom: #31b08b;
$custom-light: #7bc8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#31b08b",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 139
  },
  "hsl": {
    "h": 162.52,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67972,
    "c": 0.12219,
    "h": 168.9
  },
  "luminance": 0.33568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B08B

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

Preview Lab → · Contrast checker → · Palette generator →

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