#31B897#31B897

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

Color values

HEX#31B897
RGBrgb(49, 184, 151)
HSLhsl(165, 58%, 46%)
HSVhsv(165, 73%, 72%)
CMYKcmyk(73.4%, 0%, 17.9%, 27.8%)
CIE-LABlab(67.40, -43.50, 6.55)
CIE-LCHlch(67.40, 43.99, 171.43°)
OKLaboklab(70.35% -0.1223 0.0166)
OKLCHoklch(70.35% 0.123 172.3)
XYZxyz(23.9901, 37.1655, 35.1815)
Luminance0.3717 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B897 #B83152
analogous
#31B853 #31B897 #3195B8
triadic
#31B897 #9731B8 #B89731
tetradic
#31B897 #5331B8 #B83152 #95B831
square
#31B897 #5331B8 #B83152 #95B831
split-complementary
#31B897 #B83195 #B85331
monochromatic
#175748 #24886F #31B897 #55D2B3 #85DEC9

Accessibility & contrast

On white

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

On black

8.43
#31B897 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B897
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B897#FFFFFF#000000##000000
##31B8971.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2AC95
Deuteranopia (green-blind)
#A09F99
Tritanopia (blue-blind)
#00BAAE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b897;
/* rgb */ color: rgb(49, 184, 151);
/* oklch */ color: oklch(70.3% 0.123 172.3);
Tailwind
colors: {
  custom: {
    50: '#7dceb5',
    500: '#31b897',
    950: '#000000',
  },
}
SCSS
$custom: #31b897;
$custom-light: #7dceb5;
$custom-dark: #000000;
JSON
{
  "hex": "#31b897",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 151
  },
  "hsl": {
    "h": 165.333,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70347,
    "c": 0.12343,
    "h": 172.3
  },
  "luminance": 0.37168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B897

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

Preview Lab → · Contrast checker → · Palette generator →

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