#31B97E#31B97E

#31B97E is a light, vivid teal. Relative luminance 0.369; OKLCH L 70.0% C 0.144 H 159.6°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#31B97E
RGBrgb(49, 185, 126)
HSLhsl(154, 58%, 46%)
HSVhsv(154, 74%, 73%)
CMYKcmyk(73.5%, 0%, 31.9%, 27.5%)
CIE-LABlab(67.17, -49.73, 19.84)
CIE-LCHlch(67.17, 53.55, 158.25°)
OKLaboklab(69.98% -0.1352 0.0502)
OKLCHoklch(69.98% 0.144 159.6)
XYZxyz(22.3792, 36.8546, 25.6688)
Luminance0.3686 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B97E #B9316C
analogous
#31B93A #31B97E #31B0B9
triadic
#31B97E #7E31B9 #B97E31
tetradic
#31B97E #3A31B9 #B9316C #B0B931
square
#31B97E #3A31B9 #B9316C #B0B931
split-complementary
#31B97E #B931B0 #B93A31
monochromatic
#17583C #24895D #31B97E #55D29C #86DFB8

Accessibility & contrast

On white

2.51
#31B97E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#31B97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B97E
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B97E#FFFFFF#000000##000000
##31B97E1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AB7A
Deuteranopia (green-blind)
#A69F82
Tritanopia (blue-blind)
#00B8A9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b97e;
/* rgb */ color: rgb(49, 185, 126);
/* oklch */ color: oklch(70.0% 0.144 159.6);
Tailwind
colors: {
  custom: {
    50: '#7dcfa3',
    500: '#31b97e',
    950: '#000000',
  },
}
SCSS
$custom: #31b97e;
$custom-light: #7dcfa3;
$custom-dark: #000000;
JSON
{
  "hex": "#31b97e",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 126
  },
  "hsl": {
    "h": 153.971,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69976,
    "c": 0.14425,
    "h": 159.6
  },
  "luminance": 0.36857
}

Semantic roles & 50–950 ramp

primary
#31B97E
secondary
#C87D9E
accent
#468AE1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B140F
muted
#7C827F

Preview Lab

Preview with #31B97E

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

Preview Lab → · Contrast checker → · Palette generator →

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