#31B79B#31B79B

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

Color values

HEX#31B79B
RGBrgb(49, 183, 155)
HSLhsl(167, 58%, 45%)
HSVhsv(167, 73%, 72%)
CMYKcmyk(73.2%, 0%, 15.3%, 28.2%)
CIE-LABlab(67.19, -42.05, 4.05)
CIE-LCHlch(67.19, 42.24, 174.50°)
OKLaboklab(70.21% -0.1194 0.0101)
OKLCHoklch(70.21% 0.12 175.2)
XYZxyz(24.1135, 36.8836, 36.8524)
Luminance0.3689 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B79B #B7314D
analogous
#31B758 #31B79B #3190B7
triadic
#31B79B #9B31B7 #B79B31
tetradic
#31B79B #5831B7 #B7314D #90B731
square
#31B79B #5831B7 #B7314D #90B731
split-complementary
#31B79B #B73190 #B75831
monochromatic
#175649 #248772 #31B79B #54D1B7 #84DECB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B79B#FFFFFF#000000##000000
##31B79B1.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)
#B0AB9A
Deuteranopia (green-blind)
#9E9E9D
Tritanopia (blue-blind)
#00B9AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b79b;
/* rgb */ color: rgb(49, 183, 155);
/* oklch */ color: oklch(70.2% 0.120 175.2);
Tailwind
colors: {
  custom: {
    50: '#7dcdb8',
    500: '#31b79b',
    950: '#000000',
  },
}
SCSS
$custom: #31b79b;
$custom-light: #7dcdb8;
$custom-dark: #000000;
JSON
{
  "hex": "#31b79b",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 155
  },
  "hsl": {
    "h": 167.463,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70207,
    "c": 0.11982,
    "h": 175.2
  },
  "luminance": 0.36886
}

Semantic roles & 50–950 ramp

primary
#31B79B
secondary
#C87C8C
accent
#4767E1
background
#F8FCFB
surface
#EFF9F6
border
#CAD2D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31B79B

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

Preview Lab → · Contrast checker → · Palette generator →

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