#31B173#31B173

#31B173 is a light, vivid teal. Relative luminance 0.333; OKLCH L 67.7% C 0.144 H 157.3°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#31B173
RGBrgb(49, 177, 115)
HSLhsl(151, 57%, 44%)
HSVhsv(151, 72%, 69%)
CMYKcmyk(72.3%, 0%, 35%, 30.6%)
CIE-LABlab(64.43, -48.88, 22.04)
CIE-LCHlch(64.43, 53.62, 155.73°)
OKLaboklab(67.65% -0.1324 0.0555)
OKLCHoklch(67.65% 0.144 157.3)
XYZxyz(20.0813, 33.3327, 21.5919)
Luminance0.3333 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B173 #B1316F
analogous
#31B133 #31B173 #31AFB1
triadic
#31B173 #7331B1 #B17331
tetradic
#31B173 #3331B1 #B1316F #AFB131
square
#31B173 #3331B1 #B1316F #AFB131
split-complementary
#31B173 #B131AF #B13331
monochromatic
#165135 #248154 #31B173 #51CF92 #80DCB0

Accessibility & contrast

On white

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

On black

7.67
#31B173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B173
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B173#FFFFFF#000000##000000
##31B1731.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A36F
Deuteranopia (green-blind)
#A09877
Tritanopia (blue-blind)
#00B0A1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b173;
/* rgb */ color: rgb(49, 177, 115);
/* oklch */ color: oklch(67.7% 0.144 157.3);
Tailwind
colors: {
  custom: {
    50: '#7bc99b',
    500: '#31b173',
    950: '#000000',
  },
}
SCSS
$custom: #31b173;
$custom-light: #7bc99b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b173",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 115
  },
  "hsl": {
    "h": 150.938,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67653,
    "c": 0.14357,
    "h": 157.3
  },
  "luminance": 0.33335
}

Semantic roles & 50–950 ramp

primary
#31B173
secondary
#C5799E
accent
#4892E0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B173

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

Preview Lab → · Contrast checker → · Palette generator →

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