#31B79C#31B79C

#31B79C is a light, moderate teal. Relative luminance 0.369; OKLCH L 70.2% C 0.119 H 175.8°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#31B79C
RGBrgb(49, 183, 156)
HSLhsl(168, 58%, 45%)
HSVhsv(168, 73%, 72%)
CMYKcmyk(73.2%, 0%, 14.8%, 28.2%)
CIE-LABlab(67.22, -41.79, 3.54)
CIE-LCHlch(67.22, 41.94, 175.16°)
OKLaboklab(70.24% -0.1189 0.0087)
OKLCHoklch(70.24% 0.119 175.8)
XYZxyz(24.1978, 36.9174, 37.2965)
Luminance0.3692 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B79C #B7314C
analogous
#31B759 #31B79C #318FB7
triadic
#31B79C #9C31B7 #B79C31
tetradic
#31B79C #5931B7 #B7314C #8FB731
square
#31B79C #5931B7 #B7314C #8FB731
split-complementary
#31B79C #B7318F #B75931
monochromatic
#17564A #248773 #31B79C #54D1B8 #84DECC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B79C#FFFFFF#000000##000000
##31B79C1.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0AB9B
Deuteranopia (green-blind)
#9E9E9E
Tritanopia (blue-blind)
#00B9AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b79c;
/* rgb */ color: rgb(49, 183, 156);
/* oklch */ color: oklch(70.2% 0.119 175.8);
Tailwind
colors: {
  custom: {
    50: '#7dcdb9',
    500: '#31b79c',
    950: '#000000',
  },
}
SCSS
$custom: #31b79c;
$custom-light: #7dcdb9;
$custom-dark: #000000;
JSON
{
  "hex": "#31b79c",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 156
  },
  "hsl": {
    "h": 167.91,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70236,
    "c": 0.11925,
    "h": 175.8
  },
  "luminance": 0.3692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B79C

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

Preview Lab → · Contrast checker → · Palette generator →

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