#31AF96#31AF96

#31AF96 is a light, moderate teal. Relative luminance 0.335; OKLCH L 68.0% C 0.114 H 176.3°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#31AF96
RGBrgb(49, 175, 150)
HSLhsl(168, 56%, 44%)
HSVhsv(168, 72%, 69%)
CMYKcmyk(72%, 0%, 14.3%, 31.4%)
CIE-LABlab(64.57, -39.85, 3.03)
CIE-LCHlch(64.57, 39.96, 175.65°)
OKLaboklab(68.03% -0.1136 0.0074)
OKLCHoklch(68.03% 0.114 176.3)
XYZxyz(22.0989, 33.5123, 34.1521)
Luminance0.3352 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF96 #AF314A
analogous
#31AF57 #31AF96 #3189AF
triadic
#31AF96 #9631AF #AF9631
tetradic
#31AF96 #5731AF #AF314A #89AF31
square
#31AF96 #5731AF #AF314A #89AF31
split-complementary
#31AF96 #AF3189 #AF5731
monochromatic
#164F44 #247F6D #31AF96 #4FCEB5 #7FDBC9

Accessibility & contrast

On white

2.73
#31AF96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#31AF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF96
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF96#FFFFFF#000000##000000
##31AF961.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31af96;
/* rgb */ color: rgb(49, 175, 150);
/* oklch */ color: oklch(68.0% 0.114 176.3);
Tailwind
colors: {
  custom: {
    50: '#7cc7b4',
    500: '#31af96',
    950: '#000000',
  },
}
SCSS
$custom: #31af96;
$custom-light: #7cc7b4;
$custom-dark: #000000;
JSON
{
  "hex": "#31af96",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 150
  },
  "hsl": {
    "h": 168.095,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68027,
    "c": 0.11387,
    "h": 176.3
  },
  "luminance": 0.33515
}

Semantic roles & 50–950 ramp

primary
#31AF96
secondary
#C47887
accent
#4866E0
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AF96

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

Preview Lab → · Contrast checker → · Palette generator →

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