#31B198#31B198

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

Color values

HEX#31B198
RGBrgb(49, 177, 152)
HSLhsl(168, 57%, 44%)
HSVhsv(168, 72%, 69%)
CMYKcmyk(72.3%, 0%, 14.1%, 30.6%)
CIE-LABlab(65.25, -40.20, 2.90)
CIE-LCHlch(65.25, 40.31, 175.87°)
OKLaboklab(68.6% -0.1147 0.0071)
OKLCHoklch(68.6% 0.115 176.5)
XYZxyz(22.6534, 34.3616, 35.1382)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B198 #B1314A
analogous
#31B158 #31B198 #318AB1
triadic
#31B198 #9831B1 #B19831
tetradic
#31B198 #5831B1 #B1314A #8AB131
square
#31B198 #5831B1 #B1314A #8AB131
split-complementary
#31B198 #B1318A #B15831
monochromatic
#165146 #24816F #31B198 #51CFB6 #80DCCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B198#FFFFFF#000000##000000
##31B1981.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)
#AAA697
Deuteranopia (green-blind)
#99999A
Tritanopia (blue-blind)
#00B3AA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b198;
/* rgb */ color: rgb(49, 177, 152);
/* oklch */ color: oklch(68.6% 0.115 176.5);
Tailwind
colors: {
  custom: {
    50: '#7cc9b6',
    500: '#31b198',
    950: '#000000',
  },
}
SCSS
$custom: #31b198;
$custom-light: #7cc9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#31b198",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 152
  },
  "hsl": {
    "h": 168.281,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68595,
    "c": 0.11495,
    "h": 176.5
  },
  "luminance": 0.34364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B198

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

Preview Lab → · Contrast checker → · Palette generator →

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