#31A88C#31A88C

#31A88C is a light, moderate teal. Relative luminance 0.306; OKLCH L 65.9% C 0.112 H 173.4°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#31A88C
RGBrgb(49, 168, 140)
HSLhsl(166, 55%, 43%)
HSVhsv(166, 71%, 66%)
CMYKcmyk(70.8%, 0%, 16.7%, 34.1%)
CIE-LABlab(62.13, -39.35, 5.07)
CIE-LCHlch(62.13, 39.67, 172.66°)
OKLaboklab(65.94% -0.1112 0.0128)
OKLCHoklch(65.94% 0.112 173.4)
XYZxyz(20.0005, 30.5494, 29.6484)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A88C #A8314D
analogous
#31A850 #31A88C #3189A8
triadic
#31A88C #8C31A8 #A88C31
tetradic
#31A88C #5031A8 #A8314D #89A831
square
#31A88C #5031A8 #A8314D #89A831
split-complementary
#31A88C #A83189 #A85031
monochromatic
#15493D #237965 #31A88C #4CCBAD #7BD8C2

Accessibility & contrast

On white

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

On black

7.11
#31A88C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A88C
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A88C#FFFFFF#000000##000000
##31A88C1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a88c;
/* rgb */ color: rgb(49, 168, 140);
/* oklch */ color: oklch(65.9% 0.112 173.4);
Tailwind
colors: {
  custom: {
    50: '#7ac2ad',
    500: '#31a88c',
    950: '#000000',
  },
}
SCSS
$custom: #31a88c;
$custom-light: #7ac2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#31a88c",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 140
  },
  "hsl": {
    "h": 165.882,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65942,
    "c": 0.1119,
    "h": 173.4
  },
  "luminance": 0.30552
}

Semantic roles & 50–950 ramp

primary
#31A88C
secondary
#C17486
accent
#4A6DDE
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #31A88C

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

Preview Lab → · Contrast checker → · Palette generator →

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