#31AC87#31AC87

#31AC87 is a light, vivid teal. Relative luminance 0.319; OKLCH L 66.8% C 0.120 H 168.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#31AC87
RGBrgb(49, 172, 135)
HSLhsl(162, 56%, 43%)
HSVhsv(162, 72%, 67%)
CMYKcmyk(71.5%, 0%, 21.5%, 32.5%)
CIE-LABlab(63.26, -42.34, 9.48)
CIE-LCHlch(63.26, 43.39, 167.38°)
OKLaboklab(66.83% -0.1177 0.0242)
OKLCHoklch(66.83% 0.12 168.4)
XYZxyz(20.3900, 31.9049, 28.0006)
Luminance0.3191 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC87 #AC3156
analogous
#31AC49 #31AC87 #3193AC
triadic
#31AC87 #8731AC #AC8731
tetradic
#31AC87 #4931AC #AC3156 #93AC31
square
#31AC87 #4931AC #AC3156 #93AC31
split-complementary
#31AC87 #AC3193 #AC4931
monochromatic
#164D3C #237C62 #31AC87 #4ECCA6 #7DDABE

Accessibility & contrast

On white

2.84
#31AC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#31AC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC87
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC87#FFFFFF#000000##000000
##31AC871.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8A085
Deuteranopia (green-blind)
#979489
Tritanopia (blue-blind)
#00ADA2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31ac87;
/* rgb */ color: rgb(49, 172, 135);
/* oklch */ color: oklch(66.8% 0.120 168.4);
Tailwind
colors: {
  custom: {
    50: '#7ac5aa',
    500: '#31ac87',
    950: '#000000',
  },
}
SCSS
$custom: #31ac87;
$custom-light: #7ac5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac87",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 135
  },
  "hsl": {
    "h": 161.951,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66834,
    "c": 0.12019,
    "h": 168.4
  },
  "luminance": 0.31907
}

Semantic roles & 50–950 ramp

primary
#31AC87
secondary
#C3768D
accent
#4976DF
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31AC87

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

Preview Lab → · Contrast checker → · Palette generator →

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