#31A47B#31A47B

#31A47B is a light, moderate teal. Relative luminance 0.286; OKLCH L 64.4% C 0.119 H 164.9°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#31A47B
RGBrgb(49, 164, 123)
HSLhsl(159, 54%, 42%)
HSVhsv(159, 70%, 64%)
CMYKcmyk(70.1%, 0%, 25%, 35.7%)
CIE-LABlab(60.46, -41.81, 12.18)
CIE-LCHlch(60.46, 43.54, 163.76°)
OKLaboklab(64.44% -0.1152 0.0311)
OKLCHoklch(64.44% 0.119 164.9)
XYZxyz(18.1153, 28.6319, 23.3068)
Luminance0.2863 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A47B #A4315A
analogous
#31A442 #31A47B #3194A4
triadic
#31A47B #7B31A4 #A47B31
tetradic
#31A47B #4231A4 #A4315A #94A431
square
#31A47B #4231A4 #A4315A #94A431
split-complementary
#31A47B #A43194 #A44231
monochromatic
#154634 #237558 #31A47B #49C99B #79D7B5

Accessibility & contrast

On white

3.12
#31A47B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#31A47B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A47B
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A47B#FFFFFF#000000##000000
##31A47B1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19879
Deuteranopia (green-blind)
#928D7E
Tritanopia (blue-blind)
#00A499
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a47b;
/* rgb */ color: rgb(49, 164, 123);
/* oklch */ color: oklch(64.4% 0.119 164.9);
Tailwind
colors: {
  custom: {
    50: '#78c0a1',
    500: '#31a47b',
    950: '#000000',
  },
}
SCSS
$custom: #31a47b;
$custom-light: #78c0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31a47b",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 123
  },
  "hsl": {
    "h": 158.609,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64441,
    "c": 0.11934,
    "h": 164.9
  },
  "luminance": 0.28634
}

Semantic roles & 50–950 ramp

primary
#31A47B
secondary
#BF728D
accent
#4A7FDD
background
#F7FBF9
surface
#EEF7F2
border
#C9D0CC
text
#0A120F
muted
#7C817E

Preview Lab

Preview with #31A47B

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

Preview Lab → · Contrast checker → · Palette generator →

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