#31AC8E#31AC8E

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

Color values

HEX#31AC8E
RGBrgb(49, 172, 142)
HSLhsl(165, 56%, 43%)
HSVhsv(165, 72%, 67%)
CMYKcmyk(71.5%, 0%, 17.4%, 32.5%)
CIE-LABlab(63.43, -40.60, 5.83)
CIE-LCHlch(63.43, 41.01, 171.82°)
OKLaboklab(67.03% -0.1144 0.0148)
OKLCHoklch(67.03% 0.115 172.6)
XYZxyz(20.8991, 32.1086, 30.6821)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC8E #AC314F
analogous
#31AC50 #31AC8E #318CAC
triadic
#31AC8E #8E31AC #AC8E31
tetradic
#31AC8E #5031AC #AC314F #8CAC31
square
#31AC8E #5031AC #AC314F #8CAC31
split-complementary
#31AC8E #AC318C #AC5031
monochromatic
#164D3F #237C67 #31AC8E #4ECCAE #7DDAC3

Accessibility & contrast

On white

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

On black

7.42
#31AC8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC8E
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC8E#FFFFFF#000000##000000
##31AC8E1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A18D
Deuteranopia (green-blind)
#969590
Tritanopia (blue-blind)
#00AEA3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31ac8e;
/* rgb */ color: rgb(49, 172, 142);
/* oklch */ color: oklch(67.0% 0.115 172.6);
Tailwind
colors: {
  custom: {
    50: '#7bc5af',
    500: '#31ac8e',
    950: '#000000',
  },
}
SCSS
$custom: #31ac8e;
$custom-light: #7bc5af;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac8e",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 142
  },
  "hsl": {
    "h": 165.366,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.67027,
    "c": 0.11531,
    "h": 172.6
  },
  "luminance": 0.32111
}

Semantic roles & 50–950 ramp

primary
#31AC8E
secondary
#C37689
accent
#496DDF
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31AC8E

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

Preview Lab → · Contrast checker → · Palette generator →

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