#31B980#31B980

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

Color values

HEX#31B980
RGBrgb(49, 185, 128)
HSLhsl(155, 58%, 46%)
HSVhsv(155, 74%, 73%)
CMYKcmyk(73.5%, 0%, 30.8%, 27.5%)
CIE-LABlab(67.21, -49.30, 18.82)
CIE-LCHlch(67.21, 52.77, 159.11°)
OKLaboklab(70.02% -0.1343 0.0477)
OKLCHoklch(70.02% 0.143 160.4)
XYZxyz(22.5095, 36.9068, 26.3553)
Luminance0.3691 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B980 #B9316A
analogous
#31B93C #31B980 #31AEB9
triadic
#31B980 #8031B9 #B98031
tetradic
#31B980 #3C31B9 #B9316A #AEB931
square
#31B980 #3C31B9 #B9316A #AEB931
split-complementary
#31B980 #B931AE #B93C31
monochromatic
#17583D #24895F #31B980 #55D29E #86DFB9

Accessibility & contrast

On white

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

On black

8.38
#31B980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B980
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B980#FFFFFF#000000##000000
##31B9801.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AB7D
Deuteranopia (green-blind)
#A69F84
Tritanopia (blue-blind)
#00B8AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b980;
/* rgb */ color: rgb(49, 185, 128);
/* oklch */ color: oklch(70.0% 0.142 160.4);
Tailwind
colors: {
  custom: {
    50: '#7dcfa5',
    500: '#31b980',
    950: '#000000',
  },
}
SCSS
$custom: #31b980;
$custom-light: #7dcfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#31b980",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 128
  },
  "hsl": {
    "h": 154.853,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70021,
    "c": 0.1425,
    "h": 160.4
  },
  "luminance": 0.36909
}

Semantic roles & 50–950 ramp

primary
#31B980
secondary
#C87D9D
accent
#4687E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B140F
muted
#7C827F

Preview Lab

Preview with #31B980

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

Preview Lab → · Contrast checker → · Palette generator →

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