#31B97A#31B97A

#31B97A is a light, vivid teal. Relative luminance 0.368; OKLCH L 69.9% C 0.148 H 158.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#31B97A
RGBrgb(49, 185, 122)
HSLhsl(152, 58%, 46%)
HSVhsv(152, 74%, 73%)
CMYKcmyk(73.5%, 0%, 34.1%, 27.5%)
CIE-LABlab(67.09, -50.57, 21.89)
CIE-LCHlch(67.09, 55.11, 156.60°)
OKLaboklab(69.89% -0.1371 0.0552)
OKLCHoklch(69.89% 0.148 158.1)
XYZxyz(22.1262, 36.7535, 24.3366)
Luminance0.3676 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B97A #B93170
analogous
#31B936 #31B97A #31B4B9
triadic
#31B97A #7A31B9 #B97A31
tetradic
#31B97A #3631B9 #B93170 #B4B931
square
#31B97A #3631B9 #B93170 #B4B931
split-complementary
#31B97A #B931B4 #B93631
monochromatic
#17583A #24895A #31B97A #55D298 #86DFB5

Accessibility & contrast

On white

2.51
#31B97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#31B97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B97A
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B97A#FFFFFF#000000##000000
##31B97A1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AA76
Deuteranopia (green-blind)
#A79E7E
Tritanopia (blue-blind)
#00B8A9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b97a;
/* rgb */ color: rgb(49, 185, 122);
/* oklch */ color: oklch(69.9% 0.148 158.1);
Tailwind
colors: {
  custom: {
    50: '#7ccfa0',
    500: '#31b97a',
    950: '#000000',
  },
}
SCSS
$custom: #31b97a;
$custom-light: #7ccfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#31b97a",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 122
  },
  "hsl": {
    "h": 152.206,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69888,
    "c": 0.1478,
    "h": 158.1
  },
  "luminance": 0.36756
}

Semantic roles & 50–950 ramp

primary
#31B97A
secondary
#C87DA0
accent
#468EE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140F
muted
#7C827E

Preview Lab

Preview with #31B97A

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

Preview Lab → · Contrast checker → · Palette generator →

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