#31B197#31B197

#31B197 is a light, moderate teal. Relative luminance 0.343; OKLCH L 68.6% C 0.116 H 175.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#31B197
RGBrgb(49, 177, 151)
HSLhsl(168, 57%, 44%)
HSVhsv(168, 72%, 69%)
CMYKcmyk(72.3%, 0%, 14.7%, 30.6%)
CIE-LABlab(65.22, -40.47, 3.42)
CIE-LCHlch(65.22, 40.61, 175.17°)
OKLaboklab(68.57% -0.1152 0.0084)
OKLCHoklch(68.57% 0.116 175.8)
XYZxyz(22.5719, 34.3290, 34.7087)
Luminance0.3433 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B197 #B1314B
analogous
#31B157 #31B197 #318BB1
triadic
#31B197 #9731B1 #B19731
tetradic
#31B197 #5731B1 #B1314B #8BB131
square
#31B197 #5731B1 #B1314B #8BB131
split-complementary
#31B197 #B1318B #B15731
monochromatic
#165145 #24816E #31B197 #51CFB5 #80DCC9

Accessibility & contrast

On white

2.67
#31B197 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#31B197 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B197
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B197#FFFFFF#000000##000000
##31B1971.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA696
Deuteranopia (green-blind)
#999999
Tritanopia (blue-blind)
#00B3A9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b197;
/* rgb */ color: rgb(49, 177, 151);
/* oklch */ color: oklch(68.6% 0.116 175.8);
Tailwind
colors: {
  custom: {
    50: '#7cc9b5',
    500: '#31b197',
    950: '#000000',
  },
}
SCSS
$custom: #31b197;
$custom-light: #7cc9b5;
$custom-dark: #000000;
JSON
{
  "hex": "#31b197",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 151
  },
  "hsl": {
    "h": 167.813,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68566,
    "c": 0.11551,
    "h": 175.8
  },
  "luminance": 0.34332
}

Semantic roles & 50–950 ramp

primary
#31B197
secondary
#C57988
accent
#4867E0
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31B197

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

Preview Lab → · Contrast checker → · Palette generator →

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