#31A87F#31A87F

#31A87F is a light, vivid teal. Relative luminance 0.302; OKLCH L 65.6% C 0.121 H 165.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#31A87F
RGBrgb(49, 168, 127)
HSLhsl(159, 55%, 43%)
HSVhsv(159, 71%, 66%)
CMYKcmyk(70.8%, 0%, 24.4%, 34.1%)
CIE-LABlab(61.82, -42.56, 11.87)
CIE-LCHlch(61.82, 44.19, 164.42°)
OKLaboklab(65.59% -0.1174 0.0303)
OKLCHoklch(65.59% 0.121 165.5)
XYZxyz(19.0979, 30.1884, 24.8950)
Luminance0.3019 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A87F #A8315A
analogous
#31A844 #31A87F #3195A8
triadic
#31A87F #7F31A8 #A87F31
tetradic
#31A87F #4431A8 #A8315A #95A831
square
#31A87F #4431A8 #A8315A #95A831
split-complementary
#31A87F #A83195 #A84431
monochromatic
#154937 #23795B #31A87F #4CCB9F #7BD8B8

Accessibility & contrast

On white

2.98
#31A87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#31A87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A87F
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A87F#FFFFFF#000000##000000
##31A87F1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49C7D
Deuteranopia (green-blind)
#959182
Tritanopia (blue-blind)
#00A89D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31a87f;
/* rgb */ color: rgb(49, 168, 127);
/* oklch */ color: oklch(65.6% 0.121 165.5);
Tailwind
colors: {
  custom: {
    50: '#79c3a4',
    500: '#31a87f',
    950: '#000000',
  },
}
SCSS
$custom: #31a87f;
$custom-light: #79c3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#31a87f",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 127
  },
  "hsl": {
    "h": 159.328,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65587,
    "c": 0.1213,
    "h": 165.5
  },
  "luminance": 0.30191
}

Semantic roles & 50–950 ramp

primary
#31A87F
secondary
#C1748E
accent
#4A7DDE
background
#F7FCFA
surface
#EEF8F4
border
#C9D1CE
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A87F

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

Preview Lab → · Contrast checker → · Palette generator →

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