#31AB71#31AB71

#31AB71 is a light, vivid teal. Relative luminance 0.310; OKLCH L 66.0% C 0.137 H 157.9°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#31AB71
RGBrgb(49, 171, 113)
HSLhsl(151, 55%, 43%)
HSVhsv(151, 71%, 67%)
CMYKcmyk(71.3%, 0%, 33.9%, 32.9%)
CIE-LABlab(62.48, -46.91, 20.49)
CIE-LCHlch(62.48, 51.19, 156.41°)
OKLaboklab(66.04% -0.1273 0.0517)
OKLCHoklch(66.04% 0.137 157.9)
XYZxyz(18.8083, 30.9689, 20.6059)
Luminance0.3097 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB71 #AB316B
analogous
#31AB34 #31AB71 #31A8AB
triadic
#31AB71 #7131AB #AB7131
tetradic
#31AB71 #3431AB #AB316B #A8AB31
square
#31AB71 #3431AB #AB316B #A8AB31
split-complementary
#31AB71 #AB31A8 #AB3431
monochromatic
#164C32 #237B52 #31AB71 #4DCC90 #7DDAAD

Accessibility & contrast

On white

2.92
#31AB71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#31AB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB71
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB71#FFFFFF#000000##000000
##31AB711.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31ab71;
/* rgb */ color: rgb(49, 171, 113);
/* oklch */ color: oklch(66.0% 0.137 157.9);
Tailwind
colors: {
  custom: {
    50: '#7ac59a',
    500: '#31ab71',
    950: '#000000',
  },
}
SCSS
$custom: #31ab71;
$custom-light: #7ac59a;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab71",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 113
  },
  "hsl": {
    "h": 151.475,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66037,
    "c": 0.13738,
    "h": 157.9
  },
  "luminance": 0.30971
}

Semantic roles & 50–950 ramp

primary
#31AB71
secondary
#C2759A
accent
#4990DF
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0A130E
muted
#7C827E

Preview Lab

Preview with #31AB71

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

Preview Lab → · Contrast checker → · Palette generator →

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