#31A47F#31A47F

#31A47F is a light, moderate teal. Relative luminance 0.287; OKLCH L 64.5% C 0.116 H 167.2°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#31A47F
RGBrgb(49, 164, 127)
HSLhsl(161, 54%, 42%)
HSVhsv(161, 70%, 64%)
CMYKcmyk(70.1%, 0%, 22.6%, 35.7%)
CIE-LABlab(60.55, -40.85, 10.08)
CIE-LCHlch(60.55, 42.08, 166.14°)
OKLaboklab(64.55% -0.1133 0.0258)
OKLCHoklch(64.55% 0.116 167.2)
XYZxyz(18.3708, 28.7341, 24.6526)
Luminance0.2874 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A47F #A43156
analogous
#31A446 #31A47F #3190A4
triadic
#31A47F #7F31A4 #A47F31
tetradic
#31A47F #4631A4 #A43156 #90A431
square
#31A47F #4631A4 #A43156 #90A431
split-complementary
#31A47F #A43190 #A44631
monochromatic
#154636 #23755B #31A47F #49C9A0 #79D7B9

Accessibility & contrast

On white

3.11
#31A47F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#31A47F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A47F
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A47F#FFFFFF#000000##000000
##31A47F1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0997D
Deuteranopia (green-blind)
#918D81
Tritanopia (blue-blind)
#00A59A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a47f;
/* rgb */ color: rgb(49, 164, 127);
/* oklch */ color: oklch(64.5% 0.116 167.2);
Tailwind
colors: {
  custom: {
    50: '#79c0a4',
    500: '#31a47f',
    950: '#000000',
  },
}
SCSS
$custom: #31a47f;
$custom-light: #79c0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#31a47f",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 127
  },
  "hsl": {
    "h": 160.696,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64546,
    "c": 0.11616,
    "h": 167.2
  },
  "luminance": 0.28736
}

Semantic roles & 50–950 ramp

primary
#31A47F
secondary
#BF728B
accent
#4A7ADD
background
#F7FBFA
surface
#EEF7F4
border
#C9D0CE
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A47F

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

Preview Lab → · Contrast checker → · Palette generator →

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