#31C7A2#31C7A2

#31C7A2 is a light, vivid teal. Relative luminance 0.441; OKLCH L 74.4% C 0.133 H 171.7°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#31C7A2
RGBrgb(49, 199, 162)
HSLhsl(165, 60%, 49%)
HSVhsv(165, 75%, 78%)
CMYKcmyk(75.4%, 0%, 18.6%, 22%)
CIE-LABlab(72.30, -47.08, 7.58)
CIE-LCHlch(72.30, 47.69, 170.86°)
OKLaboklab(74.44% -0.132 0.0193)
OKLCHoklch(74.44% 0.133 171.7)
XYZxyz(28.2082, 44.1050, 41.2019)
Luminance0.4411 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C7A2 #C73156
analogous
#31C757 #31C7A2 #31A1C7
triadic
#31C7A2 #A231C7 #C7A231
tetradic
#31C7A2 #5731C7 #C73156 #A1C731
square
#31C7A2 #5731C7 #C73156 #A1C731
split-complementary
#31C7A2 #C731A1 #C75731
monochromatic
#196552 #25967A #31C7A2 #5ED7B9 #8FE3CF

Accessibility & contrast

On white

2.14
#31C7A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#31C7A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C7A2
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C7A2#FFFFFF#000000##000000
##31C7A21.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1BAA0
Deuteranopia (green-blind)
#ADABA5
Tritanopia (blue-blind)
#00C9BC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #31c7a2;
/* rgb */ color: rgb(49, 199, 162);
/* oklch */ color: oklch(74.4% 0.133 171.7);
Tailwind
colors: {
  custom: {
    50: '#80d9bd',
    500: '#31c7a2',
    950: '#000000',
  },
}
SCSS
$custom: #31c7a2;
$custom-light: #80d9bd;
$custom-dark: #000000;
JSON
{
  "hex": "#31c7a2",
  "rgb": {
    "r": 49,
    "g": 199,
    "b": 162
  },
  "hsl": {
    "h": 165.2,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74445,
    "c": 0.13344,
    "h": 171.7
  },
  "luminance": 0.44108
}

Semantic roles & 50–950 ramp

primary
#31C7A2
secondary
#CE8698
accent
#446CE4
background
#F8FDFB
surface
#F0FAF6
border
#CBD3D0
text
#0C1512
muted
#7D8381

Preview Lab

Preview with #31C7A2

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

Preview Lab → · Contrast checker → · Palette generator →

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