#31AB78#31AB78

#31AB78 is a light, vivid teal. Relative luminance 0.311; OKLCH L 66.2% C 0.131 H 160.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#31AB78
RGBrgb(49, 171, 120)
HSLhsl(155, 55%, 43%)
HSVhsv(155, 71%, 67%)
CMYKcmyk(71.3%, 0%, 29.8%, 32.9%)
CIE-LABlab(62.62, -45.41, 16.85)
CIE-LCHlch(62.62, 48.44, 159.64°)
OKLaboklab(66.2% -0.1239 0.0428)
OKLCHoklch(66.2% 0.131 160.9)
XYZxyz(19.2177, 31.1327, 22.7620)
Luminance0.3114 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB78 #AB3164
analogous
#31AB3B #31AB78 #31A1AB
triadic
#31AB78 #7831AB #AB7831
tetradic
#31AB78 #3B31AB #AB3164 #A1AB31
square
#31AB78 #3B31AB #AB3164 #A1AB31
split-complementary
#31AB78 #AB31A1 #AB3B31
monochromatic
#164C35 #237B57 #31AB78 #4DCC97 #7DDAB3

Accessibility & contrast

On white

2.91
#31AB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#31AB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB78
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB78#FFFFFF#000000##000000
##31AB781.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99E75
Deuteranopia (green-blind)
#99937B
Tritanopia (blue-blind)
#00AA9D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ab78;
/* rgb */ color: rgb(49, 171, 120);
/* oklch */ color: oklch(66.2% 0.131 160.9);
Tailwind
colors: {
  custom: {
    50: '#7ac59f',
    500: '#31ab78',
    950: '#000000',
  },
}
SCSS
$custom: #31ab78;
$custom-light: #7ac59f;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab78",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 120
  },
  "hsl": {
    "h": 154.918,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66196,
    "c": 0.13112,
    "h": 160.9
  },
  "luminance": 0.31135
}

Semantic roles & 50–950 ramp

primary
#31AB78
secondary
#C27596
accent
#4988DF
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0A130E
muted
#7C827E

Preview Lab

Preview with #31AB78

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

Preview Lab → · Contrast checker → · Palette generator →

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