#31AF8F#31AF8F

#31AF8F is a light, moderate teal. Relative luminance 0.333; OKLCH L 67.8% C 0.118 H 171.8°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#31AF8F
RGBrgb(49, 175, 143)
HSLhsl(165, 56%, 44%)
HSVhsv(165, 72%, 69%)
CMYKcmyk(72%, 0%, 18.3%, 31.4%)
CIE-LABlab(64.40, -41.65, 6.66)
CIE-LCHlch(64.40, 42.18, 170.91°)
OKLaboklab(67.83% -0.117 0.0169)
OKLCHoklch(67.83% 0.118 171.8)
XYZxyz(21.5520, 33.2936, 31.2717)
Luminance0.3330 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF8F #AF3151
analogous
#31AF50 #31AF8F #3190AF
triadic
#31AF8F #8F31AF #AF8F31
tetradic
#31AF8F #5031AF #AF3151 #90AF31
square
#31AF8F #5031AF #AF3151 #90AF31
split-complementary
#31AF8F #AF3190 #AF5031
monochromatic
#164F41 #247F68 #31AF8F #4FCEAE #7FDBC4

Accessibility & contrast

On white

2.74
#31AF8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#31AF8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF8F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF8F#FFFFFF#000000##000000
##31AF8F1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA38D
Deuteranopia (green-blind)
#999791
Tritanopia (blue-blind)
#00B1A6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31af8f;
/* rgb */ color: rgb(49, 175, 143);
/* oklch */ color: oklch(67.8% 0.118 171.8);
Tailwind
colors: {
  custom: {
    50: '#7bc7af',
    500: '#31af8f',
    950: '#000000',
  },
}
SCSS
$custom: #31af8f;
$custom-light: #7bc7af;
$custom-dark: #000000;
JSON
{
  "hex": "#31af8f",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 143
  },
  "hsl": {
    "h": 164.762,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67825,
    "c": 0.11818,
    "h": 171.8
  },
  "luminance": 0.33296
}

Semantic roles & 50–950 ramp

primary
#31AF8F
secondary
#C4788B
accent
#486FE0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31AF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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