#31AFA5#31AFA5

#31AFA5 is a light, moderate teal. Relative luminance 0.340; OKLCH L 68.5% C 0.107 H 187.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#31AFA5
RGBrgb(49, 175, 165)
HSLhsl(175, 56%, 44%)
HSVhsv(175, 72%, 69%)
CMYKcmyk(72%, 0%, 5.7%, 31.4%)
CIE-LABlab(64.98, -35.76, -4.71)
CIE-LCHlch(64.98, 36.07, 187.50°)
OKLaboklab(68.5% -0.1066 -0.0133)
OKLCHoklch(68.5% 0.107 187.1)
XYZxyz(23.3849, 34.0268, 40.9254)
Luminance0.3403 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AFA5 #AF313B
analogous
#31AF66 #31AFA5 #317AAF
triadic
#31AFA5 #A531AF #AFA531
tetradic
#31AFA5 #6631AF #AF313B #7AAF31
square
#31AFA5 #6631AF #AF313B #7AAF31
split-complementary
#31AFA5 #AF317A #AF6631
monochromatic
#164F4B #247F78 #31AFA5 #4FCEC4 #7FDBD4

Accessibility & contrast

On white

2.69
#31AFA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#31AFA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AFA5
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AFA5#FFFFFF#000000##000000
##31AFA51.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A5A5
Deuteranopia (green-blind)
#9498A6
Tritanopia (blue-blind)
#00B3AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31afa5;
/* rgb */ color: rgb(49, 175, 165);
/* oklch */ color: oklch(68.5% 0.107 187.1);
Tailwind
colors: {
  custom: {
    50: '#7dc7bf',
    500: '#31afa5',
    950: '#000000',
  },
}
SCSS
$custom: #31afa5;
$custom-light: #7dc7bf;
$custom-dark: #000000;
JSON
{
  "hex": "#31afa5",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 165
  },
  "hsl": {
    "h": 175.238,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68497,
    "c": 0.10747,
    "h": 187.1
  },
  "luminance": 0.3403
}

Semantic roles & 50–950 ramp

primary
#31AFA5
secondary
#C4787E
accent
#4854E0
background
#F8FCFB
surface
#EFF8F7
border
#CAD1D0
text
#0B1312
muted
#7C8281

Preview Lab

Preview with #31AFA5

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

Preview Lab → · Contrast checker → · Palette generator →

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