#31AC72#31AC72

#31AC72 is a light, vivid teal. Relative luminance 0.314; OKLCH L 66.3% C 0.138 H 158.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#31AC72
RGBrgb(49, 172, 114)
HSLhsl(152, 56%, 43%)
HSVhsv(152, 72%, 67%)
CMYKcmyk(71.5%, 0%, 33.7%, 32.5%)
CIE-LABlab(62.82, -47.11, 20.40)
CIE-LCHlch(62.82, 51.33, 156.58°)
OKLaboklab(66.32% -0.1278 0.0515)
OKLCHoklch(66.32% 0.138 158.1)
XYZxyz(19.0545, 31.3708, 20.9673)
Luminance0.3137 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC72 #AC316B
analogous
#31AC34 #31AC72 #31A8AC
triadic
#31AC72 #7231AC #AC7231
tetradic
#31AC72 #3431AC #AC316B #A8AC31
square
#31AC72 #3431AC #AC316B #A8AC31
split-complementary
#31AC72 #AC31A8 #AC3431
monochromatic
#164D33 #237C52 #31AC72 #4ECC91 #7DDAAE

Accessibility & contrast

On white

2.89
#31AC72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#31AC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC72
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC72#FFFFFF#000000##000000
##31AC721.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9F6E
Deuteranopia (green-blind)
#9B9476
Tritanopia (blue-blind)
#00AB9D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31ac72;
/* rgb */ color: rgb(49, 172, 114);
/* oklch */ color: oklch(66.3% 0.138 158.1);
Tailwind
colors: {
  custom: {
    50: '#7ac69b',
    500: '#31ac72',
    950: '#000000',
  },
}
SCSS
$custom: #31ac72;
$custom-light: #7ac69b;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac72",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 114
  },
  "hsl": {
    "h": 151.707,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66322,
    "c": 0.13781,
    "h": 158.1
  },
  "luminance": 0.31373
}

Semantic roles & 50–950 ramp

primary
#31AC72
secondary
#C3769A
accent
#4990DF
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0A130E
muted
#7C827E

Preview Lab

Preview with #31AC72

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

Preview Lab → · Contrast checker → · Palette generator →

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