#31B171#31B171

#31B171 is a light, vivid teal. Relative luminance 0.333; OKLCH L 67.6% C 0.145 H 156.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#31B171
RGBrgb(49, 177, 113)
HSLhsl(150, 57%, 44%)
HSVhsv(150, 72%, 69%)
CMYKcmyk(72.3%, 0%, 36.2%, 30.6%)
CIE-LABlab(64.39, -49.29, 23.07)
CIE-LCHlch(64.39, 54.42, 154.92°)
OKLaboklab(67.61% -0.1334 0.0579)
OKLCHoklch(67.61% 0.145 156.5)
XYZxyz(19.9675, 33.2872, 20.9923)
Luminance0.3329 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B171 #B13171
analogous
#31B131 #31B171 #31B1B1
triadic
#31B171 #7131B1 #B17131
tetradic
#31B171 #3131B1 #B13171 #B1B131
square
#31B171 #3131B1 #B13171 #B1B131
split-complementary
#31B171 #B131B1 #B13131
monochromatic
#165134 #248152 #31B171 #51CF90 #80DCAE

Accessibility & contrast

On white

2.74
#31B171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#31B171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B171
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B171#FFFFFF#000000##000000
##31B1711.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A36D
Deuteranopia (green-blind)
#A09875
Tritanopia (blue-blind)
#00AFA1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b171;
/* rgb */ color: rgb(49, 177, 113);
/* oklch */ color: oklch(67.6% 0.145 156.5);
Tailwind
colors: {
  custom: {
    50: '#7bc99a',
    500: '#31b171',
    950: '#000000',
  },
}
SCSS
$custom: #31b171;
$custom-light: #7bc99a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b171",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 113
  },
  "hsl": {
    "h": 150,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67611,
    "c": 0.14541,
    "h": 156.5
  },
  "luminance": 0.3329
}

Semantic roles & 50–950 ramp

primary
#31B171
secondary
#C5799F
accent
#4894E0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B171

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

Preview Lab → · Contrast checker → · Palette generator →

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