#31A88D#31A88D

#31A88D is a light, moderate teal. Relative luminance 0.306; OKLCH L 66.0% C 0.111 H 174.1°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#31A88D
RGBrgb(49, 168, 141)
HSLhsl(166, 55%, 43%)
HSVhsv(166, 71%, 66%)
CMYKcmyk(70.8%, 0%, 16.1%, 34.1%)
CIE-LABlab(62.15, -39.09, 4.54)
CIE-LCHlch(62.15, 39.36, 173.37°)
OKLaboklab(65.97% -0.1107 0.0114)
OKLCHoklch(65.97% 0.111 174.1)
XYZxyz(20.0745, 30.5790, 30.0385)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A88D #A8314C
analogous
#31A852 #31A88D #3187A8
triadic
#31A88D #8D31A8 #A88D31
tetradic
#31A88D #5231A8 #A8314C #87A831
square
#31A88D #5231A8 #A8314C #87A831
split-complementary
#31A88D #A83187 #A85231
monochromatic
#15493D #237965 #31A88D #4CCBAE #7BD8C3

Accessibility & contrast

On white

2.95
#31A88D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#31A88D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A88D
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A88D#FFFFFF#000000##000000
##31A88D1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29D8C
Deuteranopia (green-blind)
#92918F
Tritanopia (blue-blind)
#00AAA0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31a88d;
/* rgb */ color: rgb(49, 168, 141);
/* oklch */ color: oklch(66.0% 0.111 174.1);
Tailwind
colors: {
  custom: {
    50: '#7ac2ae',
    500: '#31a88d',
    950: '#000000',
  },
}
SCSS
$custom: #31a88d;
$custom-light: #7ac2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#31a88d",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 141
  },
  "hsl": {
    "h": 166.387,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65971,
    "c": 0.11128,
    "h": 174.1
  },
  "luminance": 0.30581
}

Semantic roles & 50–950 ramp

primary
#31A88D
secondary
#C17485
accent
#4A6BDE
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #31A88D

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

Preview Lab → · Contrast checker → · Palette generator →

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