#31A17C#31A17C

#31A17C is a light, moderate teal. Relative luminance 0.276; OKLCH L 63.7% C 0.115 H 166.7°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#31A17C
RGBrgb(49, 161, 124)
HSLhsl(160, 53%, 41%)
HSVhsv(160, 70%, 63%)
CMYKcmyk(69.6%, 0%, 23%, 36.9%)
CIE-LABlab(59.52, -40.28, 10.31)
CIE-LCHlch(59.52, 41.58, 165.65°)
OKLaboklab(63.68% -0.1116 0.0264)
OKLCHoklch(63.68% 0.115 166.7)
XYZxyz(17.6476, 27.5960, 23.4614)
Luminance0.2760 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A17C #A13156
analogous
#31A144 #31A17C #318EA1
triadic
#31A17C #7C31A1 #A17C31
tetradic
#31A17C #4431A1 #A13156 #8EA131
square
#31A17C #4431A1 #A13156 #8EA131
split-complementary
#31A17C #A1318E #A14431
monochromatic
#144334 #237258 #31A17C #48C79D #77D6B6

Accessibility & contrast

On white

3.22
#31A17C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#31A17C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A17C
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A17C#FFFFFF#000000##000000
##31A17C1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D967A
Deuteranopia (green-blind)
#8E8B7E
Tritanopia (blue-blind)
#00A297
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a17c;
/* rgb */ color: rgb(49, 161, 124);
/* oklch */ color: oklch(63.7% 0.115 166.7);
Tailwind
colors: {
  custom: {
    50: '#78bda2',
    500: '#31a17c',
    950: '#000000',
  },
}
SCSS
$custom: #31a17c;
$custom-light: #78bda2;
$custom-dark: #000000;
JSON
{
  "hex": "#31a17c",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 124
  },
  "hsl": {
    "h": 160.179,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63684,
    "c": 0.11464,
    "h": 166.7
  },
  "luminance": 0.27598
}

Semantic roles & 50–950 ramp

primary
#31A17C
secondary
#BE708A
accent
#4B7BDD
background
#F7FBF9
surface
#EEF7F2
border
#C9D0CC
text
#0A120F
muted
#7C817E

Preview Lab

Preview with #31A17C

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

Preview Lab → · Contrast checker → · Palette generator →

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