#31A87A#31A87A

#31A87A is a light, vivid teal. Relative luminance 0.301; OKLCH L 65.5% C 0.125 H 162.9°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#31A87A
RGBrgb(49, 168, 122)
HSLhsl(157, 55%, 43%)
HSVhsv(157, 71%, 66%)
CMYKcmyk(70.8%, 0%, 27.4%, 34.1%)
CIE-LABlab(61.71, -43.72, 14.49)
CIE-LCHlch(61.71, 46.06, 161.67°)
OKLaboklab(65.46% -0.1199 0.0369)
OKLCHoklch(65.46% 0.125 162.9)
XYZxyz(18.7801, 30.0612, 23.2212)
Luminance0.3006 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A87A #A8315F
analogous
#31A83F #31A87A #319AA8
triadic
#31A87A #7A31A8 #A87A31
tetradic
#31A87A #3F31A8 #A8315F #9AA831
square
#31A87A #3F31A8 #A8315F #9AA831
split-complementary
#31A87A #A8319A #A83F31
monochromatic
#154935 #237958 #31A87A #4CCB9A #7BD8B4

Accessibility & contrast

On white

2.99
#31A87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#31A87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A87A
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A87A#FFFFFF#000000##000000
##31A87A1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59C77
Deuteranopia (green-blind)
#96917D
Tritanopia (blue-blind)
#00A89B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31a87a;
/* rgb */ color: rgb(49, 168, 122);
/* oklch */ color: oklch(65.5% 0.125 162.9);
Tailwind
colors: {
  custom: {
    50: '#79c3a0',
    500: '#31a87a',
    950: '#000000',
  },
}
SCSS
$custom: #31a87a;
$custom-light: #79c3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#31a87a",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 122
  },
  "hsl": {
    "h": 156.807,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65461,
    "c": 0.12543,
    "h": 162.9
  },
  "luminance": 0.30063
}

Semantic roles & 50–950 ramp

primary
#31A87A
secondary
#C17492
accent
#4A83DE
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A120E
muted
#7C817E

Preview Lab

Preview with #31A87A

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

Preview Lab → · Contrast checker → · Palette generator →

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