#31B979#31B979

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

Color values

HEX#31B979
RGBrgb(49, 185, 121)
HSLhsl(152, 58%, 46%)
HSVhsv(152, 74%, 73%)
CMYKcmyk(73.5%, 0%, 34.6%, 27.5%)
CIE-LABlab(67.07, -50.78, 22.40)
CIE-LCHlch(67.07, 55.50, 156.20°)
OKLaboklab(69.87% -0.1376 0.0564)
OKLCHoklch(69.87% 0.149 157.7)
XYZxyz(22.0646, 36.7288, 24.0120)
Luminance0.3673 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B979 #B93171
analogous
#31B935 #31B979 #31B5B9
triadic
#31B979 #7931B9 #B97931
tetradic
#31B979 #3531B9 #B93171 #B5B931
square
#31B979 #3531B9 #B93171 #B5B931
split-complementary
#31B979 #B931B5 #B93531
monochromatic
#17583A #248959 #31B979 #55D297 #86DFB5

Accessibility & contrast

On white

2.52
#31B979 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B979#FFFFFF#000000##000000
##31B9791.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AA75
Deuteranopia (green-blind)
#A79E7D
Tritanopia (blue-blind)
#00B8A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b979;
/* rgb */ color: rgb(49, 185, 121);
/* oklch */ color: oklch(69.9% 0.149 157.7);
Tailwind
colors: {
  custom: {
    50: '#7ccfa0',
    500: '#31b979',
    950: '#000000',
  },
}
SCSS
$custom: #31b979;
$custom-light: #7ccfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#31b979",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 121
  },
  "hsl": {
    "h": 151.765,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69866,
    "c": 0.1487,
    "h": 157.7
  },
  "luminance": 0.36731
}

Semantic roles & 50–950 ramp

primary
#31B979
secondary
#C87DA1
accent
#468FE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B979

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

Preview Lab → · Contrast checker → · Palette generator →

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