#31A37E#31A37E

#31A37E is a light, moderate teal. Relative luminance 0.284; OKLCH L 64.3% C 0.116 H 167.0°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#31A37E
RGBrgb(49, 163, 126)
HSLhsl(161, 54%, 42%)
HSVhsv(161, 70%, 64%)
CMYKcmyk(69.9%, 0%, 22.7%, 36.1%)
CIE-LABlab(60.21, -40.66, 10.15)
CIE-LCHlch(60.21, 41.91, 165.98°)
OKLaboklab(64.26% -0.1127 0.026)
OKLCHoklch(64.26% 0.116 167)
XYZxyz(18.1277, 28.3517, 24.2517)
Luminance0.2835 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A37E #A33156
analogous
#31A345 #31A37E #318FA3
triadic
#31A37E #7E31A3 #A37E31
tetradic
#31A37E #4531A3 #A33156 #8FA331
square
#31A37E #4531A3 #A33156 #8FA331
split-complementary
#31A37E #A3318F #A34531
monochromatic
#154535 #23745A #31A37E #49C89F #78D6B8

Accessibility & contrast

On white

3.15
#31A37E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#31A37E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A37E
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A37E#FFFFFF#000000##000000
##31A37E1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F987C
Deuteranopia (green-blind)
#908D80
Tritanopia (blue-blind)
#00A499
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a37e;
/* rgb */ color: rgb(49, 163, 126);
/* oklch */ color: oklch(64.3% 0.116 167.0);
Tailwind
colors: {
  custom: {
    50: '#78bfa3',
    500: '#31a37e',
    950: '#000000',
  },
}
SCSS
$custom: #31a37e;
$custom-light: #78bfa3;
$custom-dark: #000000;
JSON
{
  "hex": "#31a37e",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 126
  },
  "hsl": {
    "h": 160.526,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64259,
    "c": 0.11565,
    "h": 167
  },
  "luminance": 0.28354
}

Semantic roles & 50–950 ramp

primary
#31A37E
secondary
#BF718A
accent
#4B7ADD
background
#F7FBFA
surface
#EEF7F3
border
#C9D0CD
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A37E

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

Preview Lab → · Contrast checker → · Palette generator →

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