#31A88B#31A88B

#31A88B is a light, moderate teal. Relative luminance 0.305; OKLCH L 65.9% C 0.113 H 172.8°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#31A88B
RGBrgb(49, 168, 139)
HSLhsl(165, 55%, 43%)
HSVhsv(165, 71%, 66%)
CMYKcmyk(70.8%, 0%, 17.3%, 34.1%)
CIE-LABlab(62.10, -39.61, 5.59)
CIE-LCHlch(62.10, 40.00, 171.97°)
OKLaboklab(65.91% -0.1116 0.0142)
OKLCHoklch(65.91% 0.113 172.8)
XYZxyz(19.9271, 30.5200, 29.2618)
Luminance0.3052 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A88B #A8314E
analogous
#31A84F #31A88B #318AA8
triadic
#31A88B #8B31A8 #A88B31
tetradic
#31A88B #4F31A8 #A8314E #8AA831
square
#31A88B #4F31A8 #A8314E #8AA831
split-complementary
#31A88B #A8318A #A84F31
monochromatic
#15493D #237964 #31A88B #4CCBAC #7BD8C2

Accessibility & contrast

On white

2.96
#31A88B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#31A88B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A88B
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A88B#FFFFFF#000000##000000
##31A88B1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39D8A
Deuteranopia (green-blind)
#92918D
Tritanopia (blue-blind)
#00AAA0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31a88b;
/* rgb */ color: rgb(49, 168, 139);
/* oklch */ color: oklch(65.9% 0.113 172.8);
Tailwind
colors: {
  custom: {
    50: '#7ac2ac',
    500: '#31a88b',
    950: '#000000',
  },
}
SCSS
$custom: #31a88b;
$custom-light: #7ac2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#31a88b",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 139
  },
  "hsl": {
    "h": 165.378,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65913,
    "c": 0.11255,
    "h": 172.8
  },
  "luminance": 0.30522
}

Semantic roles & 50–950 ramp

primary
#31A88B
secondary
#C17487
accent
#4A6EDE
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #31A88B

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

Preview Lab → · Contrast checker → · Palette generator →

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