#31AF8B#31AF8B

#31AF8B is a light, vivid teal. Relative luminance 0.332; OKLCH L 67.7% C 0.121 H 169.4°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#31AF8B
RGBrgb(49, 175, 139)
HSLhsl(163, 56%, 44%)
HSVhsv(163, 72%, 69%)
CMYKcmyk(72%, 0%, 20.6%, 31.4%)
CIE-LABlab(64.30, -42.64, 8.74)
CIE-LCHlch(64.30, 43.53, 168.42°)
OKLaboklab(67.72% -0.1189 0.0223)
OKLCHoklch(67.72% 0.121 169.4)
XYZxyz(21.2543, 33.1745, 29.7043)
Luminance0.3318 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF8B #AF3155
analogous
#31AF4C #31AF8B #3194AF
triadic
#31AF8B #8B31AF #AF8B31
tetradic
#31AF8B #4C31AF #AF3155 #94AF31
square
#31AF8B #4C31AF #AF3155 #94AF31
split-complementary
#31AF8B #AF3194 #AF4C31
monochromatic
#164F3F #247F65 #31AF8B #4FCEAA #7FDBC1

Accessibility & contrast

On white

2.75
#31AF8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#31AF8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF8B
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF8B#FFFFFF#000000##000000
##31AF8B1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA389
Deuteranopia (green-blind)
#9A978D
Tritanopia (blue-blind)
#00B0A5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31af8b;
/* rgb */ color: rgb(49, 175, 139);
/* oklch */ color: oklch(67.7% 0.121 169.4);
Tailwind
colors: {
  custom: {
    50: '#7bc8ac',
    500: '#31af8b',
    950: '#000000',
  },
}
SCSS
$custom: #31af8b;
$custom-light: #7bc8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#31af8b",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 139
  },
  "hsl": {
    "h": 162.857,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67715,
    "c": 0.12096,
    "h": 169.4
  },
  "luminance": 0.33177
}

Semantic roles & 50–950 ramp

primary
#31AF8B
secondary
#C4788E
accent
#4873E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31AF8B

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

Preview Lab → · Contrast checker → · Palette generator →

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