#31B17A#31B17A

#31B17A is a light, vivid teal. Relative luminance 0.335; OKLCH L 67.8% C 0.137 H 160.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#31B17A
RGBrgb(49, 177, 122)
HSLhsl(154, 57%, 44%)
HSVhsv(154, 72%, 69%)
CMYKcmyk(72.3%, 0%, 31.1%, 30.6%)
CIE-LABlab(64.56, -47.41, 18.44)
CIE-LCHlch(64.56, 50.87, 158.75°)
OKLaboklab(67.81% -0.1291 0.0467)
OKLCHoklch(67.81% 0.137 160.1)
XYZxyz(20.4995, 33.5000, 23.7944)
Luminance0.3350 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B17A #B13168
analogous
#31B13A #31B17A #31A8B1
triadic
#31B17A #7A31B1 #B17A31
tetradic
#31B17A #3A31B1 #B13168 #A8B131
square
#31B17A #3A31B1 #B13168 #A8B131
split-complementary
#31B17A #B131A8 #B13A31
monochromatic
#165138 #248159 #31B17A #51CF98 #80DCB5

Accessibility & contrast

On white

2.73
#31B17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#31B17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B17A
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B17A#FFFFFF#000000##000000
##31B17A1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA377
Deuteranopia (green-blind)
#9F987E
Tritanopia (blue-blind)
#00B0A2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b17a;
/* rgb */ color: rgb(49, 177, 122);
/* oklch */ color: oklch(67.8% 0.137 160.1);
Tailwind
colors: {
  custom: {
    50: '#7bc9a0',
    500: '#31b17a',
    950: '#000000',
  },
}
SCSS
$custom: #31b17a;
$custom-light: #7bc9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#31b17a",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 122
  },
  "hsl": {
    "h": 154.219,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67808,
    "c": 0.13729,
    "h": 160.1
  },
  "luminance": 0.33502
}

Semantic roles & 50–950 ramp

primary
#31B17A
secondary
#C5799A
accent
#4889E0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B17A

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

Preview Lab → · Contrast checker → · Palette generator →

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