#31B098#31B098

#31B098 is a light, moderate teal. Relative luminance 0.340; OKLCH L 68.3% C 0.114 H 177.0°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#31B098
RGBrgb(49, 176, 152)
HSLhsl(169, 56%, 44%)
HSVhsv(169, 72%, 69%)
CMYKcmyk(72.2%, 0%, 13.6%, 31%)
CIE-LABlab(64.94, -39.76, 2.45)
CIE-LCHlch(64.94, 39.84, 176.48°)
OKLaboklab(68.34% -0.1137 0.0059)
OKLCHoklch(68.34% 0.114 177)
XYZxyz(22.4566, 33.9680, 35.0726)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B098 #B03149
analogous
#31B059 #31B098 #3189B0
triadic
#31B098 #9831B0 #B09831
tetradic
#31B098 #5931B0 #B03149 #89B031
square
#31B098 #5931B0 #B03149 #89B031
split-complementary
#31B098 #B03189 #B05931
monochromatic
#165045 #24806F #31B098 #50CEB6 #80DCCA

Accessibility & contrast

On white

2.69
#31B098 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#31B098 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B098
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B098#FFFFFF#000000##000000
##31B0981.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A597
Deuteranopia (green-blind)
#98989A
Tritanopia (blue-blind)
#00B3A9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b098;
/* rgb */ color: rgb(49, 176, 152);
/* oklch */ color: oklch(68.3% 0.114 177.0);
Tailwind
colors: {
  custom: {
    50: '#7cc8b6',
    500: '#31b098',
    950: '#000000',
  },
}
SCSS
$custom: #31b098;
$custom-light: #7cc8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#31b098",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 152
  },
  "hsl": {
    "h": 168.661,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68341,
    "c": 0.11386,
    "h": 177
  },
  "luminance": 0.33971
}

Semantic roles & 50–950 ramp

primary
#31B098
secondary
#C57887
accent
#4865E0
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31B098

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

Preview Lab → · Contrast checker → · Palette generator →

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