#31B79E#31B79E

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

Color values

HEX#31B79E
RGBrgb(49, 183, 158)
HSLhsl(169, 58%, 45%)
HSVhsv(169, 73%, 72%)
CMYKcmyk(73.2%, 0%, 13.7%, 28.2%)
CIE-LABlab(67.27, -41.27, 2.51)
CIE-LCHlch(67.27, 41.34, 176.52°)
OKLaboklab(70.3% -0.118 0.006)
OKLCHoklch(70.3% 0.118 177.1)
XYZxyz(24.3686, 36.9857, 38.1958)
Luminance0.3699 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B79E #B7314A
analogous
#31B75B #31B79E #318DB7
triadic
#31B79E #9E31B7 #B79E31
tetradic
#31B79E #5B31B7 #B7314A #8DB731
square
#31B79E #5B31B7 #B7314A #8DB731
split-complementary
#31B79E #B7318D #B75B31
monochromatic
#17564B #248774 #31B79E #54D1BA #84DECD

Accessibility & contrast

On white

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

On black

8.40
#31B79E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B79E
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B79E#FFFFFF#000000##000000
##31B79E1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0AB9D
Deuteranopia (green-blind)
#9E9EA0
Tritanopia (blue-blind)
#00BAB0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b79e;
/* rgb */ color: rgb(49, 183, 158);
/* oklch */ color: oklch(70.3% 0.118 177.1);
Tailwind
colors: {
  custom: {
    50: '#7dcdba',
    500: '#31b79e',
    950: '#000000',
  },
}
SCSS
$custom: #31b79e;
$custom-light: #7dcdba;
$custom-dark: #000000;
JSON
{
  "hex": "#31b79e",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 158
  },
  "hsl": {
    "h": 168.806,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70295,
    "c": 0.11814,
    "h": 177.1
  },
  "luminance": 0.36989
}

Semantic roles & 50–950 ramp

primary
#31B79E
secondary
#C87C8A
accent
#4764E1
background
#F8FCFB
surface
#EFF9F6
border
#CAD2D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31B79E

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

Preview Lab → · Contrast checker → · Palette generator →

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