#31AF8D#31AF8D

#31AF8D is a light, moderate teal. Relative luminance 0.332; OKLCH L 67.8% C 0.120 H 170.5°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#31AF8D
RGBrgb(49, 175, 141)
HSLhsl(164, 56%, 44%)
HSVhsv(164, 72%, 69%)
CMYKcmyk(72%, 0%, 19.4%, 31.4%)
CIE-LABlab(64.35, -42.15, 7.70)
CIE-LCHlch(64.35, 42.84, 169.65°)
OKLaboklab(67.77% -0.1179 0.0196)
OKLCHoklch(67.77% 0.12 170.5)
XYZxyz(21.4018, 33.2335, 30.4809)
Luminance0.3324 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF8D #AF3153
analogous
#31AF4E #31AF8D #3192AF
triadic
#31AF8D #8D31AF #AF8D31
tetradic
#31AF8D #4E31AF #AF3153 #92AF31
square
#31AF8D #4E31AF #AF3153 #92AF31
split-complementary
#31AF8D #AF3192 #AF4E31
monochromatic
#164F40 #247F66 #31AF8D #4FCEAC #7FDBC2

Accessibility & contrast

On white

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

On black

7.65
#31AF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF8D
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF8D#FFFFFF#000000##000000
##31AF8D1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA38B
Deuteranopia (green-blind)
#99978F
Tritanopia (blue-blind)
#00B0A5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31af8d;
/* rgb */ color: rgb(49, 175, 141);
/* oklch */ color: oklch(67.8% 0.120 170.5);
Tailwind
colors: {
  custom: {
    50: '#7bc8ae',
    500: '#31af8d',
    950: '#000000',
  },
}
SCSS
$custom: #31af8d;
$custom-light: #7bc8ae;
$custom-dark: #000000;
JSON
{
  "hex": "#31af8d",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 141
  },
  "hsl": {
    "h": 163.81,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67769,
    "c": 0.11954,
    "h": 170.5
  },
  "luminance": 0.33236
}

Semantic roles & 50–950 ramp

primary
#31AF8D
secondary
#C4788C
accent
#4871E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31AF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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