#31B58B#31B58B

#31B58B is a light, vivid teal. Relative luminance 0.356; OKLCH L 69.3% C 0.128 H 166.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#31B58B
RGBrgb(49, 181, 139)
HSLhsl(161, 57%, 45%)
HSVhsv(161, 73%, 71%)
CMYKcmyk(72.9%, 0%, 23.2%, 29%)
CIE-LABlab(66.18, -45.18, 11.41)
CIE-LCHlch(66.18, 46.59, 165.83°)
OKLaboklab(69.26% -0.125 0.0292)
OKLCHoklch(69.26% 0.128 166.9)
XYZxyz(22.4482, 35.5622, 30.1022)
Luminance0.3557 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B58B #B5315B
analogous
#31B549 #31B58B #319DB5
triadic
#31B58B #8B31B5 #B58B31
tetradic
#31B58B #4931B5 #B5315B #9DB531
square
#31B58B #4931B5 #B5315B #9DB531
split-complementary
#31B58B #B5319D #B54931
monochromatic
#175541 #248566 #31B58B #53D0A8 #83DDC1

Accessibility & contrast

On white

2.59
#31B58B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#31B58B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B58B
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B58B#FFFFFF#000000##000000
##31B58B1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A889
Deuteranopia (green-blind)
#A09C8E
Tritanopia (blue-blind)
#00B6A9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b58b;
/* rgb */ color: rgb(49, 181, 139);
/* oklch */ color: oklch(69.3% 0.128 166.9);
Tailwind
colors: {
  custom: {
    50: '#7cccad',
    500: '#31b58b',
    950: '#000000',
  },
}
SCSS
$custom: #31b58b;
$custom-light: #7cccad;
$custom-dark: #000000;
JSON
{
  "hex": "#31b58b",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 139
  },
  "hsl": {
    "h": 160.909,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69257,
    "c": 0.12835,
    "h": 166.9
  },
  "luminance": 0.35565
}

Semantic roles & 50–950 ramp

primary
#31B58B
secondary
#C77B93
accent
#4778E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B58B

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

Preview Lab → · Contrast checker → · Palette generator →

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