#31A896#31A896

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

Color values

HEX#31A896
RGBrgb(49, 168, 150)
HSLhsl(171, 55%, 43%)
HSVhsv(171, 71%, 66%)
CMYKcmyk(70.8%, 0%, 10.7%, 34.1%)
CIE-LABlab(62.39, -36.71, -0.15)
CIE-LCHlch(62.39, 36.71, 180.23°)
OKLaboklab(66.24% -0.1064 -0.001)
OKLCHoklch(66.24% 0.106 180.5)
XYZxyz(20.7716, 30.8578, 33.7097)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A896 #A83143
analogous
#31A85A #31A896 #317FA8
triadic
#31A896 #9631A8 #A89631
tetradic
#31A896 #5A31A8 #A83143 #7FA831
square
#31A896 #5A31A8 #A83143 #7FA831
split-complementary
#31A896 #A8317F #A85A31
monochromatic
#154941 #23796C #31A896 #4CCBB7 #7BD8CA

Accessibility & contrast

On white

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

On black

7.17
#31A896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A896
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A896#FFFFFF#000000##000000
##31A8961.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19E95
Deuteranopia (green-blind)
#909298
Tritanopia (blue-blind)
#00ABA2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31a896;
/* rgb */ color: rgb(49, 168, 150);
/* oklch */ color: oklch(66.2% 0.106 180.5);
Tailwind
colors: {
  custom: {
    50: '#7ac2b4',
    500: '#31a896',
    950: '#000000',
  },
}
SCSS
$custom: #31a896;
$custom-light: #7ac2b4;
$custom-dark: #000000;
JSON
{
  "hex": "#31a896",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 150
  },
  "hsl": {
    "h": 170.924,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66243,
    "c": 0.10642,
    "h": 180.5
  },
  "luminance": 0.3086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A896

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

Preview Lab → · Contrast checker → · Palette generator →

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