#31AC8B#31AC8B

#31AC8B is a light, moderate teal. Relative luminance 0.320; OKLCH L 66.9% C 0.117 H 170.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#31AC8B
RGBrgb(49, 172, 139)
HSLhsl(164, 56%, 43%)
HSVhsv(164, 72%, 67%)
CMYKcmyk(71.5%, 0%, 19.2%, 32.5%)
CIE-LABlab(63.36, -41.35, 7.39)
CIE-LCHlch(63.36, 42.01, 169.86°)
OKLaboklab(66.94% -0.1158 0.0189)
OKLCHoklch(66.94% 0.117 170.8)
XYZxyz(20.6769, 32.0197, 29.5118)
Luminance0.3202 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC8B #AC3152
analogous
#31AC4D #31AC8B #318FAC
triadic
#31AC8B #8B31AC #AC8B31
tetradic
#31AC8B #4D31AC #AC3152 #8FAC31
square
#31AC8B #4D31AC #AC3152 #8FAC31
split-complementary
#31AC8B #AC318F #AC4D31
monochromatic
#164D3E #237C65 #31AC8B #4ECCAA #7DDAC1

Accessibility & contrast

On white

2.84
#31AC8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#31AC8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC8B
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC8B#FFFFFF#000000##000000
##31AC8B1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7A089
Deuteranopia (green-blind)
#97948D
Tritanopia (blue-blind)
#00ADA3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31ac8b;
/* rgb */ color: rgb(49, 172, 139);
/* oklch */ color: oklch(66.9% 0.117 170.8);
Tailwind
colors: {
  custom: {
    50: '#7ac5ac',
    500: '#31ac8b',
    950: '#000000',
  },
}
SCSS
$custom: #31ac8b;
$custom-light: #7ac5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac8b",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 139
  },
  "hsl": {
    "h": 163.902,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66943,
    "c": 0.11732,
    "h": 170.8
  },
  "luminance": 0.32022
}

Semantic roles & 50–950 ramp

primary
#31AC8B
secondary
#C3768B
accent
#4971DF
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31AC8B

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

Preview Lab → · Contrast checker → · Palette generator →

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