#31AF97#31AF97

#31AF97 is a light, moderate teal. Relative luminance 0.335; OKLCH L 68.1% C 0.113 H 176.9°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#31AF97
RGBrgb(49, 175, 151)
HSLhsl(169, 56%, 44%)
HSVhsv(169, 72%, 69%)
CMYKcmyk(72%, 0%, 13.7%, 31.4%)
CIE-LABlab(64.60, -39.58, 2.51)
CIE-LCHlch(64.60, 39.66, 176.37°)
OKLaboklab(68.06% -0.1132 0.0061)
OKLCHoklch(68.06% 0.113 176.9)
XYZxyz(22.1797, 33.5447, 34.5780)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF97 #AF3149
analogous
#31AF58 #31AF97 #3188AF
triadic
#31AF97 #9731AF #AF9731
tetradic
#31AF97 #5831AF #AF3149 #88AF31
square
#31AF97 #5831AF #AF3149 #88AF31
split-complementary
#31AF97 #AF3188 #AF5831
monochromatic
#164F44 #247F6E #31AF97 #4FCEB6 #7FDBCA

Accessibility & contrast

On white

2.72
#31AF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#31AF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF97
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF97#FFFFFF#000000##000000
##31AF971.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8A496
Deuteranopia (green-blind)
#979799
Tritanopia (blue-blind)
#00B1A8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31af97;
/* rgb */ color: rgb(49, 175, 151);
/* oklch */ color: oklch(68.1% 0.113 176.9);
Tailwind
colors: {
  custom: {
    50: '#7cc7b5',
    500: '#31af97',
    950: '#000000',
  },
}
SCSS
$custom: #31af97;
$custom-light: #7cc7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#31af97",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 151
  },
  "hsl": {
    "h": 168.571,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68057,
    "c": 0.11332,
    "h": 176.9
  },
  "luminance": 0.33547
}

Semantic roles & 50–950 ramp

primary
#31AF97
secondary
#C47886
accent
#4865E0
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AF97

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

Preview Lab → · Contrast checker → · Palette generator →

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