#31A897#31A897

#31A897 is a light, moderate teal. Relative luminance 0.309; OKLCH L 66.3% C 0.106 H 181.3°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#31A897
RGBrgb(49, 168, 151)
HSLhsl(171, 55%, 43%)
HSVhsv(171, 71%, 66%)
CMYKcmyk(70.8%, 0%, 10.1%, 34.1%)
CIE-LABlab(62.41, -36.43, -0.67)
CIE-LCHlch(62.41, 36.44, 181.05°)
OKLaboklab(66.27% -0.1059 -0.0024)
OKLCHoklch(66.27% 0.106 181.3)
XYZxyz(20.8525, 30.8902, 34.1356)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A897 #A83142
analogous
#31A85C #31A897 #317DA8
triadic
#31A897 #9731A8 #A89731
tetradic
#31A897 #5C31A8 #A83142 #7DA831
square
#31A897 #5C31A8 #A83142 #7DA831
split-complementary
#31A897 #A8317D #A85C31
monochromatic
#154942 #23796C #31A897 #4CCBB8 #7BD8CB

Accessibility & contrast

On white

2.93
#31A897 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#31A897 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A897
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A897#FFFFFF#000000##000000
##31A8971.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09E96
Deuteranopia (green-blind)
#909299
Tritanopia (blue-blind)
#00ABA3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31a897;
/* rgb */ color: rgb(49, 168, 151);
/* oklch */ color: oklch(66.3% 0.106 181.3);
Tailwind
colors: {
  custom: {
    50: '#7bc2b5',
    500: '#31a897',
    950: '#000000',
  },
}
SCSS
$custom: #31a897;
$custom-light: #7bc2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#31a897",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 151
  },
  "hsl": {
    "h": 171.429,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66274,
    "c": 0.10598,
    "h": 181.3
  },
  "luminance": 0.30893
}

Semantic roles & 50–950 ramp

primary
#31A897
secondary
#C1747F
accent
#4A5FDE
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1211
muted
#7C8180

Preview Lab

Preview with #31A897

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

Preview Lab → · Contrast checker → · Palette generator →

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