#31A89B#31A89B

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

Color values

HEX#31A89B
RGBrgb(49, 168, 155)
HSLhsl(173, 55%, 43%)
HSVhsv(173, 71%, 66%)
CMYKcmyk(70.8%, 0%, 7.7%, 34.1%)
CIE-LABlab(62.53, -35.33, -2.75)
CIE-LCHlch(62.53, 35.44, 184.44°)
OKLaboklab(66.4% -0.1041 -0.008)
OKLCHoklch(66.4% 0.104 184.4)
XYZxyz(21.1828, 31.0223, 35.8755)
Luminance0.3103 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A89B #A8313E
analogous
#31A85F #31A89B #317AA8
triadic
#31A89B #9B31A8 #A89B31
tetradic
#31A89B #5F31A8 #A8313E #7AA831
square
#31A89B #5F31A8 #A8313E #7AA831
split-complementary
#31A89B #A8317A #A85F31
monochromatic
#154944 #23796F #31A89B #4CCBBD #7BD8CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A89B#FFFFFF#000000##000000
##31A89B1.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)
#A09E9B
Deuteranopia (green-blind)
#8F929C
Tritanopia (blue-blind)
#00ACA4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31a89b;
/* rgb */ color: rgb(49, 168, 155);
/* oklch */ color: oklch(66.4% 0.104 184.4);
Tailwind
colors: {
  custom: {
    50: '#7bc2b8',
    500: '#31a89b',
    950: '#000000',
  },
}
SCSS
$custom: #31a89b;
$custom-light: #7bc2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#31a89b",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 155
  },
  "hsl": {
    "h": 173.445,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66402,
    "c": 0.10439,
    "h": 184.4
  },
  "luminance": 0.31025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A89B

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

Preview Lab → · Contrast checker → · Palette generator →

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