#31A697#31A697

#31A697 is a light, moderate teal. Relative luminance 0.302; OKLCH L 65.8% C 0.104 H 182.7°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#31A697
RGBrgb(49, 166, 151)
HSLhsl(172, 54%, 42%)
HSVhsv(172, 70%, 65%)
CMYKcmyk(70.5%, 0%, 9%, 34.9%)
CIE-LABlab(61.79, -35.52, -1.58)
CIE-LCHlch(61.79, 35.55, 182.55°)
OKLaboklab(65.77% -0.1039 -0.0048)
OKLCHoklch(65.77% 0.104 182.7)
XYZxyz(20.4861, 30.1574, 34.0134)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A697 #A63140
analogous
#31A65D #31A697 #317AA6
triadic
#31A697 #9731A6 #A69731
tetradic
#31A697 #5D31A6 #A63140 #7AA631
square
#31A697 #5D31A6 #A63140 #7AA631
split-complementary
#31A697 #A6317A #A65D31
monochromatic
#154741 #23776C #31A697 #4ACAB9 #7AD8CC

Accessibility & contrast

On white

2.99
#31A697 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#31A697 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A697
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A697#FFFFFF#000000##000000
##31A6971.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E9C96
Deuteranopia (green-blind)
#8E9098
Tritanopia (blue-blind)
#00A9A1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31a697;
/* rgb */ color: rgb(49, 166, 151);
/* oklch */ color: oklch(65.8% 0.104 182.7);
Tailwind
colors: {
  custom: {
    50: '#7ac1b5',
    500: '#31a697',
    950: '#000000',
  },
}
SCSS
$custom: #31a697;
$custom-light: #7ac1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#31a697",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 151
  },
  "hsl": {
    "h": 172.308,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65765,
    "c": 0.10398,
    "h": 182.7
  },
  "luminance": 0.3016
}

Semantic roles & 50–950 ramp

primary
#31A697
secondary
#C0737D
accent
#4A5DDE
background
#F8FBFB
surface
#EFF7F6
border
#CAD0D0
text
#0A1211
muted
#7C8180

Preview Lab

Preview with #31A697

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

Preview Lab → · Contrast checker → · Palette generator →

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