#31AF98#31AF98

#31AF98 is a light, moderate teal. Relative luminance 0.336; OKLCH L 68.1% C 0.113 H 177.6°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#31AF98
RGBrgb(49, 175, 152)
HSLhsl(169, 56%, 44%)
HSVhsv(169, 72%, 69%)
CMYKcmyk(72%, 0%, 13.1%, 31.4%)
CIE-LABlab(64.63, -39.32, 2.00)
CIE-LCHlch(64.63, 39.37, 177.09°)
OKLaboklab(68.09% -0.1127 0.0047)
OKLCHoklch(68.09% 0.113 177.6)
XYZxyz(22.2613, 33.5773, 35.0075)
Luminance0.3358 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF98 #AF3148
analogous
#31AF59 #31AF98 #3187AF
triadic
#31AF98 #9831AF #AF9831
tetradic
#31AF98 #5931AF #AF3148 #87AF31
square
#31AF98 #5931AF #AF3148 #87AF31
split-complementary
#31AF98 #AF3187 #AF5931
monochromatic
#164F45 #247F6E #31AF98 #4FCEB7 #7FDBCA

Accessibility & contrast

On white

2.72
#31AF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#31AF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF98
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF98#FFFFFF#000000##000000
##31AF981.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8A497
Deuteranopia (green-blind)
#97989A
Tritanopia (blue-blind)
#00B2A8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31af98;
/* rgb */ color: rgb(49, 175, 152);
/* oklch */ color: oklch(68.1% 0.113 177.6);
Tailwind
colors: {
  custom: {
    50: '#7cc7b6',
    500: '#31af98',
    950: '#000000',
  },
}
SCSS
$custom: #31af98;
$custom-light: #7cc7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#31af98",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 152
  },
  "hsl": {
    "h": 169.048,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68087,
    "c": 0.11279,
    "h": 177.6
  },
  "luminance": 0.3358
}

Semantic roles & 50–950 ramp

primary
#31AF98
secondary
#C47886
accent
#4864E0
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AF98

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

Preview Lab → · Contrast checker → · Palette generator →

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