#31A18B#31A18B

#31A18B is a light, moderate teal. Relative luminance 0.280; OKLCH L 64.1% C 0.104 H 176.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#31A18B
RGBrgb(49, 161, 139)
HSLhsl(168, 53%, 41%)
HSVhsv(168, 70%, 63%)
CMYKcmyk(69.6%, 0%, 13.7%, 36.9%)
CIE-LABlab(59.89, -36.48, 2.40)
CIE-LCHlch(59.89, 36.56, 176.23°)
OKLaboklab(64.11% -0.1043 0.0058)
OKLCHoklch(64.11% 0.104 176.8)
XYZxyz(18.6694, 28.0047, 28.8426)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A18B #A13147
analogous
#31A153 #31A18B #317FA1
triadic
#31A18B #8B31A1 #A18B31
tetradic
#31A18B #5331A1 #A13147 #7FA131
square
#31A18B #5331A1 #A13147 #7FA131
split-complementary
#31A18B #A1317F #A15331
monochromatic
#14433A #237262 #31A18B #48C7AE #77D6C3

Accessibility & contrast

On white

3.18
#31A18B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#31A18B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A18B
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A18B#FFFFFF#000000##000000
##31A18B1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B978A
Deuteranopia (green-blind)
#8B8C8D
Tritanopia (blue-blind)
#00A39A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a18b;
/* rgb */ color: rgb(49, 161, 139);
/* oklch */ color: oklch(64.1% 0.104 176.8);
Tailwind
colors: {
  custom: {
    50: '#79bdac',
    500: '#31a18b',
    950: '#000000',
  },
}
SCSS
$custom: #31a18b;
$custom-light: #79bdac;
$custom-dark: #000000;
JSON
{
  "hex": "#31a18b",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 139
  },
  "hsl": {
    "h": 168.214,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6411,
    "c": 0.10448,
    "h": 176.8
  },
  "luminance": 0.28007
}

Semantic roles & 50–950 ramp

primary
#31A18B
secondary
#BE707F
accent
#4B68DD
background
#F7FBFA
surface
#EEF7F4
border
#C9D0CE
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #31A18B

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

Preview Lab → · Contrast checker → · Palette generator →

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