#31B79A#31B79A

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

Color values

HEX#31B79A
RGBrgb(49, 183, 154)
HSLhsl(167, 58%, 45%)
HSVhsv(167, 73%, 72%)
CMYKcmyk(73.2%, 0%, 15.8%, 28.2%)
CIE-LABlab(67.16, -42.31, 4.57)
CIE-LCHlch(67.16, 42.55, 173.84°)
OKLaboklab(70.18% -0.1199 0.0114)
OKLCHoklch(70.18% 0.12 174.5)
XYZxyz(24.0299, 36.8502, 36.4119)
Luminance0.3685 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B79A #B7314E
analogous
#31B757 #31B79A #3191B7
triadic
#31B79A #9A31B7 #B79A31
tetradic
#31B79A #5731B7 #B7314E #91B731
square
#31B79A #5731B7 #B7314E #91B731
split-complementary
#31B79A #B73191 #B75731
monochromatic
#175649 #248771 #31B79A #54D1B6 #84DECB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B79A#FFFFFF#000000##000000
##31B79A1.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)
#B1AB99
Deuteranopia (green-blind)
#9F9E9C
Tritanopia (blue-blind)
#00B9AE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b79a;
/* rgb */ color: rgb(49, 183, 154);
/* oklch */ color: oklch(70.2% 0.120 174.5);
Tailwind
colors: {
  custom: {
    50: '#7dcdb7',
    500: '#31b79a',
    950: '#000000',
  },
}
SCSS
$custom: #31b79a;
$custom-light: #7dcdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#31b79a",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 154
  },
  "hsl": {
    "h": 167.015,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70178,
    "c": 0.12042,
    "h": 174.5
  },
  "luminance": 0.36853
}

Semantic roles & 50–950 ramp

primary
#31B79A
secondary
#C87C8D
accent
#4768E1
background
#F8FCFB
surface
#EFF9F6
border
#CAD2D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31B79A

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

Preview Lab → · Contrast checker → · Palette generator →

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