#31A98F#31A98F

#31A98F is a light, moderate teal. Relative luminance 0.310; OKLCH L 66.3% C 0.111 H 174.9°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#31A98F
RGBrgb(49, 169, 143)
HSLhsl(167, 55%, 43%)
HSVhsv(167, 71%, 66%)
CMYKcmyk(71%, 0%, 15.4%, 33.7%)
CIE-LABlab(62.52, -39.02, 3.95)
CIE-LCHlch(62.52, 39.22, 174.21°)
OKLaboklab(66.29% -0.1108 0.0099)
OKLCHoklch(66.29% 0.111 174.9)
XYZxyz(20.4100, 31.0097, 30.8911)
Luminance0.3101 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A98F #A9314B
analogous
#31A953 #31A98F #3187A9
triadic
#31A98F #8F31A9 #A98F31
tetradic
#31A98F #5331A9 #A9314B #87A931
square
#31A98F #5331A9 #A9314B #87A931
split-complementary
#31A98F #A93187 #A95331
monochromatic
#154A3F #237A67 #31A98F #4CCBB0 #7CD9C5

Accessibility & contrast

On white

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

On black

7.20
#31A98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A98F
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A98F#FFFFFF#000000##000000
##31A98F1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39E8E
Deuteranopia (green-blind)
#939291
Tritanopia (blue-blind)
#00ABA1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31a98f;
/* rgb */ color: rgb(49, 169, 143);
/* oklch */ color: oklch(66.3% 0.111 174.9);
Tailwind
colors: {
  custom: {
    50: '#7ac3af',
    500: '#31a98f',
    950: '#000000',
  },
}
SCSS
$custom: #31a98f;
$custom-light: #7ac3af;
$custom-dark: #000000;
JSON
{
  "hex": "#31a98f",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 143
  },
  "hsl": {
    "h": 167,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66286,
    "c": 0.11121,
    "h": 174.9
  },
  "luminance": 0.31012
}

Semantic roles & 50–950 ramp

primary
#31A98F
secondary
#C17485
accent
#496ADE
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #31A98F

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

Preview Lab → · Contrast checker → · Palette generator →

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