#31A89C#31A89C

#31A89C is a light, moderate teal. Relative luminance 0.311; OKLCH L 66.4% C 0.104 H 185.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#31A89C
RGBrgb(49, 168, 156)
HSLhsl(174, 55%, 43%)
HSVhsv(174, 71%, 66%)
CMYKcmyk(70.8%, 0%, 7.1%, 34.1%)
CIE-LABlab(62.55, -35.05, -3.26)
CIE-LCHlch(62.55, 35.20, 185.32°)
OKLaboklab(66.44% -0.1036 -0.0094)
OKLCHoklch(66.44% 0.104 185.2)
XYZxyz(21.2672, 31.0561, 36.3196)
Luminance0.3106 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A89C #A8313D
analogous
#31A861 #31A89C #3178A8
triadic
#31A89C #9C31A8 #A89C31
tetradic
#31A89C #6131A8 #A8313D #78A831
square
#31A89C #6131A8 #A8313D #78A831
split-complementary
#31A89C #A83178 #A86131
monochromatic
#154944 #237970 #31A89C #4CCBBE #7BD8CF

Accessibility & contrast

On white

2.91
#31A89C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#31A89C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A89C
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A89C#FFFFFF#000000##000000
##31A89C1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9F9C
Deuteranopia (green-blind)
#8E929D
Tritanopia (blue-blind)
#00ACA4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31a89c;
/* rgb */ color: rgb(49, 168, 156);
/* oklch */ color: oklch(66.4% 0.104 185.2);
Tailwind
colors: {
  custom: {
    50: '#7bc2b9',
    500: '#31a89c',
    950: '#000000',
  },
}
SCSS
$custom: #31a89c;
$custom-light: #7bc2b9;
$custom-dark: #000000;
JSON
{
  "hex": "#31a89c",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 156
  },
  "hsl": {
    "h": 173.95,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66435,
    "c": 0.10403,
    "h": 185.2
  },
  "luminance": 0.31059
}

Semantic roles & 50–950 ramp

primary
#31A89C
secondary
#C1747C
accent
#4A59DE
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1211
muted
#7C8180

Preview Lab

Preview with #31A89C

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

Preview Lab → · Contrast checker → · Palette generator →

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