#31AC98#31AC98

#31AC98 is a light, moderate teal. Relative luminance 0.324; OKLCH L 67.3% C 0.110 H 179.4°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#31AC98
RGBrgb(49, 172, 152)
HSLhsl(170, 56%, 43%)
HSVhsv(170, 72%, 67%)
CMYKcmyk(71.5%, 0%, 11.6%, 32.5%)
CIE-LABlab(63.69, -37.98, 0.64)
CIE-LCHlch(63.69, 37.98, 179.04°)
OKLaboklab(67.32% -0.1096 0.0011)
OKLCHoklch(67.32% 0.11 179.4)
XYZxyz(21.6839, 32.4225, 34.8150)
Luminance0.3242 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC98 #AC3145
analogous
#31AC5A #31AC98 #3182AC
triadic
#31AC98 #9831AC #AC9831
tetradic
#31AC98 #5A31AC #AC3145 #82AC31
square
#31AC98 #5A31AC #AC3145 #82AC31
split-complementary
#31AC98 #AC3182 #AC5A31
monochromatic
#164D44 #237C6E #31AC98 #4ECCB8 #7DDACB

Accessibility & contrast

On white

2.81
#31AC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#31AC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC98
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC98#FFFFFF#000000##000000
##31AC981.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5A297
Deuteranopia (green-blind)
#94959A
Tritanopia (blue-blind)
#00AFA6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31ac98;
/* rgb */ color: rgb(49, 172, 152);
/* oklch */ color: oklch(67.3% 0.110 179.4);
Tailwind
colors: {
  custom: {
    50: '#7bc5b6',
    500: '#31ac98',
    950: '#000000',
  },
}
SCSS
$custom: #31ac98;
$custom-light: #7bc5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac98",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 152
  },
  "hsl": {
    "h": 170.244,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.67323,
    "c": 0.10962,
    "h": 179.4
  },
  "luminance": 0.32425
}

Semantic roles & 50–950 ramp

primary
#31AC98
secondary
#C37682
accent
#4961DF
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AC98

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

Preview Lab → · Contrast checker → · Palette generator →

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