#31AC8F#31AC8F

#31AC8F is a light, moderate teal. Relative luminance 0.321; OKLCH L 67.1% C 0.115 H 173.3°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#31AC8F
RGBrgb(49, 172, 143)
HSLhsl(166, 56%, 43%)
HSVhsv(166, 72%, 67%)
CMYKcmyk(71.5%, 0%, 16.9%, 32.5%)
CIE-LABlab(63.46, -40.34, 5.31)
CIE-LCHlch(63.46, 40.69, 172.50°)
OKLaboklab(67.06% -0.1139 0.0134)
OKLCHoklch(67.06% 0.115 173.3)
XYZxyz(20.9745, 32.1388, 31.0793)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC8F #AC314E
analogous
#31AC52 #31AC8F #318BAC
triadic
#31AC8F #8F31AC #AC8F31
tetradic
#31AC8F #5231AC #AC314E #8BAC31
square
#31AC8F #5231AC #AC314E #8BAC31
split-complementary
#31AC8F #AC318B #AC5231
monochromatic
#164D40 #237C67 #31AC8F #4ECCAF #7DDAC4

Accessibility & contrast

On white

2.83
#31AC8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#31AC8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC8F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC8F#FFFFFF#000000##000000
##31AC8F1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A18E
Deuteranopia (green-blind)
#969591
Tritanopia (blue-blind)
#00AEA4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31ac8f;
/* rgb */ color: rgb(49, 172, 143);
/* oklch */ color: oklch(67.1% 0.115 173.3);
Tailwind
colors: {
  custom: {
    50: '#7bc5af',
    500: '#31ac8f',
    950: '#000000',
  },
}
SCSS
$custom: #31ac8f;
$custom-light: #7bc5af;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac8f",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 143
  },
  "hsl": {
    "h": 165.854,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.67056,
    "c": 0.11467,
    "h": 173.3
  },
  "luminance": 0.32141
}

Semantic roles & 50–950 ramp

primary
#31AC8F
secondary
#C37688
accent
#496CDF
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31AC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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