#31B79F#31B79F

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

Color values

HEX#31B79F
RGBrgb(49, 183, 159)
HSLhsl(169, 58%, 45%)
HSVhsv(169, 73%, 72%)
CMYKcmyk(73.2%, 0%, 13.1%, 28.2%)
CIE-LABlab(67.29, -41.00, 2.00)
CIE-LCHlch(67.29, 41.05, 177.21°)
OKLaboklab(70.33% -0.1175 0.0046)
OKLCHoklch(70.33% 0.118 177.7)
XYZxyz(24.4550, 37.0202, 38.6509)
Luminance0.3702 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B79F #B73149
analogous
#31B75C #31B79F #318CB7
triadic
#31B79F #9F31B7 #B79F31
tetradic
#31B79F #5C31B7 #B73149 #8CB731
square
#31B79F #5C31B7 #B73149 #8CB731
split-complementary
#31B79F #B7318C #B75C31
monochromatic
#17564B #248775 #31B79F #54D1BB #84DECE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B79F#FFFFFF#000000##000000
##31B79F1.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)
#B0AC9E
Deuteranopia (green-blind)
#9E9EA1
Tritanopia (blue-blind)
#00BAB0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b79f;
/* rgb */ color: rgb(49, 183, 159);
/* oklch */ color: oklch(70.3% 0.118 177.7);
Tailwind
colors: {
  custom: {
    50: '#7dcdbb',
    500: '#31b79f',
    950: '#000000',
  },
}
SCSS
$custom: #31b79f;
$custom-light: #7dcdbb;
$custom-dark: #000000;
JSON
{
  "hex": "#31b79f",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 159
  },
  "hsl": {
    "h": 169.254,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70325,
    "c": 0.11761,
    "h": 177.7
  },
  "luminance": 0.37023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B79F

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

Preview Lab → · Contrast checker → · Palette generator →

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