#31BA97#31BA97

#31BA97 is a light, vivid teal. Relative luminance 0.380; OKLCH L 70.9% C 0.126 H 171.3°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#31BA97
RGBrgb(49, 186, 151)
HSLhsl(165, 58%, 46%)
HSVhsv(165, 74%, 73%)
CMYKcmyk(73.7%, 0%, 18.8%, 27.1%)
CIE-LABlab(68.02, -44.35, 7.44)
CIE-LCHlch(68.02, 44.97, 170.47°)
OKLaboklab(70.86% -0.1243 0.019)
OKLCHoklch(70.86% 0.126 171.3)
XYZxyz(24.4085, 38.0022, 35.3209)
Luminance0.3800 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA97 #BA3154
analogous
#31BA53 #31BA97 #3198BA
triadic
#31BA97 #9731BA #BA9731
tetradic
#31BA97 #5331BA #BA3154 #98BA31
square
#31BA97 #5331BA #BA3154 #98BA31
split-complementary
#31BA97 #BA3198 #BA5331
monochromatic
#175948 #248A70 #31BA97 #56D2B3 #86DFC8

Accessibility & contrast

On white

2.44
#31BA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#31BA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA97
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA97#FFFFFF#000000##000000
##31BA971.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4AD95
Deuteranopia (green-blind)
#A2A099
Tritanopia (blue-blind)
#00BCB0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #31ba97;
/* rgb */ color: rgb(49, 186, 151);
/* oklch */ color: oklch(70.9% 0.126 171.3);
Tailwind
colors: {
  custom: {
    50: '#7dcfb5',
    500: '#31ba97',
    950: '#000000',
  },
}
SCSS
$custom: #31ba97;
$custom-light: #7dcfb5;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba97",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 151
  },
  "hsl": {
    "h": 164.672,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70856,
    "c": 0.12576,
    "h": 171.3
  },
  "luminance": 0.38005
}

Semantic roles & 50–950 ramp

primary
#31BA97
secondary
#C97E91
accent
#466EE2
background
#F8FCFB
surface
#EFF9F6
border
#CAD2D0
text
#0B1411
muted
#7C8280

Preview Lab

Preview with #31BA97

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

Preview Lab → · Contrast checker → · Palette generator →

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