#31B98A#31B98A

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

Color values

HEX#31B98A
RGBrgb(49, 185, 138)
HSLhsl(159, 58%, 46%)
HSVhsv(159, 74%, 73%)
CMYKcmyk(73.5%, 0%, 25.4%, 27.5%)
CIE-LABlab(67.41, -47.06, 13.68)
CIE-LCHlch(67.41, 49.01, 163.79°)
OKLaboklab(70.26% -0.1295 0.0349)
OKLCHoklch(70.26% 0.134 164.9)
XYZxyz(23.2005, 37.1831, 29.9942)
Luminance0.3719 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B98A #B93160
analogous
#31B946 #31B98A #31A4B9
triadic
#31B98A #8A31B9 #B98A31
tetradic
#31B98A #4631B9 #B93160 #A4B931
square
#31B98A #4631B9 #B93160 #A4B931
split-complementary
#31B98A #B931A4 #B94631
monochromatic
#175842 #248966 #31B98A #55D2A7 #86DFC0

Accessibility & contrast

On white

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

On black

8.44
#31B98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B98A
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B98A#FFFFFF#000000##000000
##31B98A1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5AC87
Deuteranopia (green-blind)
#A49F8D
Tritanopia (blue-blind)
#00B9AC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b98a;
/* rgb */ color: rgb(49, 185, 138);
/* oklch */ color: oklch(70.3% 0.134 164.9);
Tailwind
colors: {
  custom: {
    50: '#7dcfac',
    500: '#31b98a',
    950: '#000000',
  },
}
SCSS
$custom: #31b98a;
$custom-light: #7dcfac;
$custom-dark: #000000;
JSON
{
  "hex": "#31b98a",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 138
  },
  "hsl": {
    "h": 159.265,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70259,
    "c": 0.13414,
    "h": 164.9
  },
  "luminance": 0.37186
}

Semantic roles & 50–950 ramp

primary
#31B98A
secondary
#C87D97
accent
#467CE1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1410
muted
#7C827F

Preview Lab

Preview with #31B98A

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

Preview Lab → · Contrast checker → · Palette generator →

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