#31A98D#31A98D

#31A98D is a light, moderate teal. Relative luminance 0.310; OKLCH L 66.2% C 0.112 H 173.6°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#31A98D
RGBrgb(49, 169, 141)
HSLhsl(166, 55%, 43%)
HSVhsv(166, 71%, 66%)
CMYKcmyk(71%, 0%, 16.6%, 33.7%)
CIE-LABlab(62.47, -39.53, 5.00)
CIE-LCHlch(62.47, 39.85, 172.79°)
OKLaboklab(66.23% -0.1117 0.0126)
OKLCHoklch(66.23% 0.112 173.6)
XYZxyz(20.2599, 30.9497, 30.1003)
Luminance0.3095 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A98D #A9314D
analogous
#31A951 #31A98D #3189A9
triadic
#31A98D #8D31A9 #A98D31
tetradic
#31A98D #5131A9 #A9314D #89A931
square
#31A98D #5131A9 #A9314D #89A931
split-complementary
#31A98D #A93189 #A95131
monochromatic
#154A3E #237A65 #31A98D #4CCBAD #7CD9C3

Accessibility & contrast

On white

2.92
#31A98D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#31A98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A98D
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A98D#FFFFFF#000000##000000
##31A98D1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39E8C
Deuteranopia (green-blind)
#93928F
Tritanopia (blue-blind)
#00ABA1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31a98d;
/* rgb */ color: rgb(49, 169, 141);
/* oklch */ color: oklch(66.2% 0.112 173.6);
Tailwind
colors: {
  custom: {
    50: '#7ac3ae',
    500: '#31a98d',
    950: '#000000',
  },
}
SCSS
$custom: #31a98d;
$custom-light: #7ac3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#31a98d",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 141
  },
  "hsl": {
    "h": 166,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66228,
    "c": 0.11244,
    "h": 173.6
  },
  "luminance": 0.30952
}

Semantic roles & 50–950 ramp

primary
#31A98D
secondary
#C17486
accent
#496CDE
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #31A98D

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

Preview Lab → · Contrast checker → · Palette generator →

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