#31AB74#31AB74

#31AB74 is a light, vivid teal. Relative luminance 0.310; OKLCH L 66.1% C 0.135 H 159.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#31AB74
RGBrgb(49, 171, 116)
HSLhsl(153, 55%, 43%)
HSVhsv(153, 71%, 67%)
CMYKcmyk(71.3%, 0%, 32.2%, 32.9%)
CIE-LABlab(62.54, -46.28, 18.93)
CIE-LCHlch(62.54, 50.00, 157.75°)
OKLaboklab(66.1% -0.1258 0.0479)
OKLCHoklch(66.1% 0.135 159.2)
XYZxyz(18.9800, 31.0376, 21.5102)
Luminance0.3104 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB74 #AB3168
analogous
#31AB37 #31AB74 #31A5AB
triadic
#31AB74 #7431AB #AB7431
tetradic
#31AB74 #3731AB #AB3168 #A5AB31
square
#31AB74 #3731AB #AB3168 #A5AB31
split-complementary
#31AB74 #AB31A5 #AB3731
monochromatic
#164C33 #237B54 #31AB74 #4DCC93 #7DDAB0

Accessibility & contrast

On white

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

On black

7.21
#31AB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB74
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB74#FFFFFF#000000##000000
##31AB741.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99E71
Deuteranopia (green-blind)
#9A9378
Tritanopia (blue-blind)
#00AA9C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ab74;
/* rgb */ color: rgb(49, 171, 116);
/* oklch */ color: oklch(66.1% 0.135 159.2);
Tailwind
colors: {
  custom: {
    50: '#7ac59c',
    500: '#31ab74',
    950: '#000000',
  },
}
SCSS
$custom: #31ab74;
$custom-light: #7ac59c;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab74",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 116
  },
  "hsl": {
    "h": 152.951,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66104,
    "c": 0.13466,
    "h": 159.2
  },
  "luminance": 0.3104
}

Semantic roles & 50–950 ramp

primary
#31AB74
secondary
#C27598
accent
#498DDF
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0A130E
muted
#7C827E

Preview Lab

Preview with #31AB74

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

Preview Lab → · Contrast checker → · Palette generator →

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