#31A68C#31A68C

#31A68C is a light, moderate teal. Relative luminance 0.298; OKLCH L 65.4% C 0.110 H 174.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#31A68C
RGBrgb(49, 166, 140)
HSLhsl(167, 54%, 42%)
HSVhsv(167, 70%, 65%)
CMYKcmyk(70.5%, 0%, 15.7%, 34.9%)
CIE-LABlab(61.50, -38.46, 4.16)
CIE-LCHlch(61.50, 38.69, 173.83°)
OKLaboklab(65.43% -0.1091 0.0104)
OKLCHoklch(65.43% 0.11 174.5)
XYZxyz(19.6341, 29.8166, 29.5263)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A68C #A6314B
analogous
#31A652 #31A68C #3185A6
triadic
#31A68C #8C31A6 #A68C31
tetradic
#31A68C #5231A6 #A6314B #85A631
square
#31A68C #5231A6 #A6314B #85A631
split-complementary
#31A68C #A63185 #A65231
monochromatic
#15473C #237764 #31A68C #4ACAAD #7AD8C3

Accessibility & contrast

On white

3.02
#31A68C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#31A68C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A68C
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A68C#FFFFFF#000000##000000
##31A68C1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09B8B
Deuteranopia (green-blind)
#90908E
Tritanopia (blue-blind)
#00A89E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a68c;
/* rgb */ color: rgb(49, 166, 140);
/* oklch */ color: oklch(65.4% 0.110 174.5);
Tailwind
colors: {
  custom: {
    50: '#7ac1ad',
    500: '#31a68c',
    950: '#000000',
  },
}
SCSS
$custom: #31a68c;
$custom-light: #7ac1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#31a68c",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 140
  },
  "hsl": {
    "h": 166.667,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65427,
    "c": 0.10959,
    "h": 174.5
  },
  "luminance": 0.29819
}

Semantic roles & 50–950 ramp

primary
#31A68C
secondary
#C07384
accent
#4A6BDE
background
#F8FBFA
surface
#EFF7F4
border
#CAD0CE
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #31A68C

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

Preview Lab → · Contrast checker → · Palette generator →

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