#31B17F#31B17F

#31B17F is a light, vivid teal. Relative luminance 0.336; OKLCH L 67.9% C 0.133 H 162.3°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#31B17F
RGBrgb(49, 177, 127)
HSLhsl(157, 57%, 44%)
HSVhsv(157, 72%, 69%)
CMYKcmyk(72.3%, 0%, 28.2%, 30.6%)
CIE-LABlab(64.67, -46.30, 15.85)
CIE-LCHlch(64.67, 48.94, 161.10°)
OKLaboklab(67.93% -0.1267 0.0403)
OKLCHoklch(67.93% 0.133 162.3)
XYZxyz(20.8173, 33.6271, 25.4681)
Luminance0.3363 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B17F #B13163
analogous
#31B13F #31B17F #31A3B1
triadic
#31B17F #7F31B1 #B17F31
tetradic
#31B17F #3F31B1 #B13163 #A3B131
square
#31B17F #3F31B1 #B13163 #A3B131
split-complementary
#31B17F #B131A3 #B13F31
monochromatic
#16513A #24815D #31B17F #51CF9D #80DCB8

Accessibility & contrast

On white

2.72
#31B17F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#31B17F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B17F
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B17F#FFFFFF#000000##000000
##31B17F1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA47C
Deuteranopia (green-blind)
#9E9882
Tritanopia (blue-blind)
#00B1A3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b17f;
/* rgb */ color: rgb(49, 177, 127);
/* oklch */ color: oklch(67.9% 0.133 162.3);
Tailwind
colors: {
  custom: {
    50: '#7bc9a4',
    500: '#31b17f',
    950: '#000000',
  },
}
SCSS
$custom: #31b17f;
$custom-light: #7bc9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#31b17f",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 127
  },
  "hsl": {
    "h": 156.563,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67925,
    "c": 0.13296,
    "h": 162.3
  },
  "luminance": 0.3363
}

Semantic roles & 50–950 ramp

primary
#31B17F
secondary
#C57997
accent
#4883E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B17F

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

Preview Lab → · Contrast checker → · Palette generator →

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