#31B79D#31B79D

#31B79D is a light, moderate teal. Relative luminance 0.370; OKLCH L 70.3% C 0.119 H 176.4°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#31B79D
RGBrgb(49, 183, 157)
HSLhsl(168, 58%, 45%)
HSVhsv(168, 73%, 72%)
CMYKcmyk(73.2%, 0%, 14.2%, 28.2%)
CIE-LABlab(67.24, -41.53, 3.02)
CIE-LCHlch(67.24, 41.64, 175.84°)
OKLaboklab(70.27% -0.1185 0.0074)
OKLCHoklch(70.27% 0.119 176.4)
XYZxyz(24.2828, 36.9514, 37.7443)
Luminance0.3695 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B79D #B7314B
analogous
#31B75A #31B79D #318EB7
triadic
#31B79D #9D31B7 #B79D31
tetradic
#31B79D #5A31B7 #B7314B #8EB731
square
#31B79D #5A31B7 #B7314B #8EB731
split-complementary
#31B79D #B7318E #B75A31
monochromatic
#17564A #248774 #31B79D #54D1B9 #84DECD

Accessibility & contrast

On white

2.50
#31B79D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#31B79D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B79D
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B79D#FFFFFF#000000##000000
##31B79D1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0AB9C
Deuteranopia (green-blind)
#9E9E9F
Tritanopia (blue-blind)
#00BAAF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b79d;
/* rgb */ color: rgb(49, 183, 157);
/* oklch */ color: oklch(70.3% 0.119 176.4);
Tailwind
colors: {
  custom: {
    50: '#7dcdb9',
    500: '#31b79d',
    950: '#000000',
  },
}
SCSS
$custom: #31b79d;
$custom-light: #7dcdb9;
$custom-dark: #000000;
JSON
{
  "hex": "#31b79d",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 157
  },
  "hsl": {
    "h": 168.358,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70266,
    "c": 0.11869,
    "h": 176.4
  },
  "luminance": 0.36954
}

Semantic roles & 50–950 ramp

primary
#31B79D
secondary
#C87C8B
accent
#4765E1
background
#F8FCFB
surface
#EFF9F6
border
#CAD2D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31B79D

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

Preview Lab → · Contrast checker → · Palette generator →

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