#31A17F#31A17F

#31A17F is a light, moderate teal. Relative luminance 0.277; OKLCH L 63.8% C 0.112 H 168.5°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#31A17F
RGBrgb(49, 161, 127)
HSLhsl(162, 53%, 41%)
HSVhsv(162, 70%, 63%)
CMYKcmyk(69.6%, 0%, 21.1%, 36.9%)
CIE-LABlab(59.59, -39.55, 8.73)
CIE-LCHlch(59.59, 40.50, 167.56°)
OKLaboklab(63.77% -0.1101 0.0223)
OKLCHoklch(63.77% 0.112 168.5)
XYZxyz(17.8403, 27.6730, 24.4758)
Luminance0.2767 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A17F #A13153
analogous
#31A147 #31A17F #318BA1
triadic
#31A17F #7F31A1 #A17F31
tetradic
#31A17F #4731A1 #A13153 #8BA131
square
#31A17F #4731A1 #A13153 #8BA131
split-complementary
#31A17F #A1318B #A14731
monochromatic
#144335 #23725A #31A17F #48C7A1 #77D6B9

Accessibility & contrast

On white

3.21
#31A17F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#31A17F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A17F
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A17F#FFFFFF#000000##000000
##31A17F1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D967D
Deuteranopia (green-blind)
#8E8B81
Tritanopia (blue-blind)
#00A297
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a17f;
/* rgb */ color: rgb(49, 161, 127);
/* oklch */ color: oklch(63.8% 0.112 168.5);
Tailwind
colors: {
  custom: {
    50: '#78bda4',
    500: '#31a17f',
    950: '#000000',
  },
}
SCSS
$custom: #31a17f;
$custom-light: #78bda4;
$custom-dark: #000000;
JSON
{
  "hex": "#31a17f",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 127
  },
  "hsl": {
    "h": 161.786,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63765,
    "c": 0.11235,
    "h": 168.5
  },
  "luminance": 0.27675
}

Semantic roles & 50–950 ramp

primary
#31A17F
secondary
#BE7088
accent
#4B77DD
background
#F7FBFA
surface
#EEF7F4
border
#C9D0CE
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A17F

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

Preview Lab → · Contrast checker → · Palette generator →

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