#31A98C#31A98C

#31A98C is a light, moderate teal. Relative luminance 0.309; OKLCH L 66.2% C 0.113 H 172.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#31A98C
RGBrgb(49, 169, 140)
HSLhsl(166, 55%, 43%)
HSVhsv(166, 71%, 66%)
CMYKcmyk(71%, 0%, 17.2%, 33.7%)
CIE-LABlab(62.44, -39.79, 5.52)
CIE-LCHlch(62.44, 40.17, 172.10°)
OKLaboklab(66.2% -0.1122 0.014)
OKLCHoklch(66.2% 0.113 172.9)
XYZxyz(20.1858, 30.9200, 29.7102)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A98C #A9314E
analogous
#31A950 #31A98C #318AA9
triadic
#31A98C #8C31A9 #A98C31
tetradic
#31A98C #5031A9 #A9314E #8AA931
square
#31A98C #5031A9 #A9314E #8AA931
split-complementary
#31A98C #A9318A #A95031
monochromatic
#154A3D #237A65 #31A98C #4CCBAC #7CD9C2

Accessibility & contrast

On white

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

On black

7.18
#31A98C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A98C
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A98C#FFFFFF#000000##000000
##31A98C1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a98c;
/* rgb */ color: rgb(49, 169, 140);
/* oklch */ color: oklch(66.2% 0.113 172.9);
Tailwind
colors: {
  custom: {
    50: '#7ac3ad',
    500: '#31a98c',
    950: '#000000',
  },
}
SCSS
$custom: #31a98c;
$custom-light: #7ac3ad;
$custom-dark: #000000;
JSON
{
  "hex": "#31a98c",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 140
  },
  "hsl": {
    "h": 165.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66199,
    "c": 0.11308,
    "h": 172.9
  },
  "luminance": 0.30922
}

Semantic roles & 50–950 ramp

primary
#31A98C
secondary
#C17487
accent
#496DDE
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #31A98C

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

Preview Lab → · Contrast checker → · Palette generator →

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