#31AFA2#31AFA2

#31AFA2 is a light, moderate teal. Relative luminance 0.339; OKLCH L 68.4% C 0.108 H 184.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#31AFA2
RGBrgb(49, 175, 162)
HSLhsl(174, 56%, 44%)
HSVhsv(174, 72%, 69%)
CMYKcmyk(72%, 0%, 7.4%, 31.4%)
CIE-LABlab(64.90, -36.60, -3.17)
CIE-LCHlch(64.90, 36.74, 184.94°)
OKLaboklab(68.4% -0.108 -0.0091)
OKLCHoklch(68.4% 0.108 184.8)
XYZxyz(23.1151, 33.9188, 39.5042)
Luminance0.3392 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AFA2 #AF313E
analogous
#31AF63 #31AFA2 #317DAF
triadic
#31AFA2 #A231AF #AFA231
tetradic
#31AFA2 #6331AF #AF313E #7DAF31
square
#31AFA2 #6331AF #AF313E #7DAF31
split-complementary
#31AFA2 #AF317D #AF6331
monochromatic
#164F49 #247F76 #31AFA2 #4FCEC1 #7FDBD2

Accessibility & contrast

On white

2.70
#31AFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#31AFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AFA2
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AFA2#FFFFFF#000000##000000
##31AFA21.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A5A2
Deuteranopia (green-blind)
#9498A3
Tritanopia (blue-blind)
#00B3AB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31afa2;
/* rgb */ color: rgb(49, 175, 162);
/* oklch */ color: oklch(68.4% 0.108 184.8);
Tailwind
colors: {
  custom: {
    50: '#7cc7bd',
    500: '#31afa2',
    950: '#000000',
  },
}
SCSS
$custom: #31afa2;
$custom-light: #7cc7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#31afa2",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 162
  },
  "hsl": {
    "h": 173.81,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68399,
    "c": 0.10841,
    "h": 184.8
  },
  "luminance": 0.33922
}

Semantic roles & 50–950 ramp

primary
#31AFA2
secondary
#C47880
accent
#4858E0
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1312
muted
#7C8281

Preview Lab

Preview with #31AFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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