#31A37D#31A37D

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

Color values

HEX#31A37D
RGBrgb(49, 163, 125)
HSLhsl(160, 54%, 42%)
HSVhsv(160, 70%, 64%)
CMYKcmyk(69.9%, 0%, 23.3%, 36.1%)
CIE-LABlab(60.18, -40.90, 10.68)
CIE-LCHlch(60.18, 42.27, 165.37°)
OKLaboklab(64.23% -0.1132 0.0273)
OKLCHoklch(64.23% 0.116 166.4)
XYZxyz(18.0635, 28.3260, 23.9135)
Luminance0.2833 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A37D #A33157
analogous
#31A344 #31A37D #3190A3
triadic
#31A37D #7D31A3 #A37D31
tetradic
#31A37D #4431A3 #A33157 #90A331
square
#31A37D #4431A3 #A33157 #90A331
split-complementary
#31A37D #A33190 #A34431
monochromatic
#154535 #237459 #31A37D #49C89E #78D6B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A37D#FFFFFF#000000##000000
##31A37D1.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)
#9F987B
Deuteranopia (green-blind)
#908D80
Tritanopia (blue-blind)
#00A498
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a37d;
/* rgb */ color: rgb(49, 163, 125);
/* oklch */ color: oklch(64.2% 0.116 166.4);
Tailwind
colors: {
  custom: {
    50: '#78bfa2',
    500: '#31a37d',
    950: '#000000',
  },
}
SCSS
$custom: #31a37d;
$custom-light: #78bfa2;
$custom-dark: #000000;
JSON
{
  "hex": "#31a37d",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 125
  },
  "hsl": {
    "h": 160,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64232,
    "c": 0.11644,
    "h": 166.4
  },
  "luminance": 0.28328
}

Semantic roles & 50–950 ramp

primary
#31A37D
secondary
#BF718B
accent
#4B7BDD
background
#F7FBFA
surface
#EEF7F3
border
#C9D0CD
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A37D

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

Preview Lab → · Contrast checker → · Palette generator →

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