#31A37B#31A37B

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

Color values

HEX#31A37B
RGBrgb(49, 163, 123)
HSLhsl(159, 54%, 42%)
HSVhsv(159, 70%, 64%)
CMYKcmyk(69.9%, 0%, 24.5%, 36.1%)
CIE-LABlab(60.14, -41.38, 11.73)
CIE-LCHlch(60.14, 43.01, 164.17°)
OKLaboklab(64.18% -0.1142 0.03)
OKLCHoklch(64.18% 0.118 165.3)
XYZxyz(17.9370, 28.2754, 23.2474)
Luminance0.2828 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A37B #A33159
analogous
#31A342 #31A37B #3192A3
triadic
#31A37B #7B31A3 #A37B31
tetradic
#31A37B #4231A3 #A33159 #92A331
square
#31A37B #4231A3 #A33159 #92A331
split-complementary
#31A37B #A33192 #A34231
monochromatic
#154534 #237457 #31A37B #49C89C #78D6B5

Accessibility & contrast

On white

3.16
#31A37B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#31A37B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A37B
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A37B#FFFFFF#000000##000000
##31A37B1.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09779
Deuteranopia (green-blind)
#918D7E
Tritanopia (blue-blind)
#00A398
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a37b;
/* rgb */ color: rgb(49, 163, 123);
/* oklch */ color: oklch(64.2% 0.118 165.3);
Tailwind
colors: {
  custom: {
    50: '#78bfa1',
    500: '#31a37b',
    950: '#000000',
  },
}
SCSS
$custom: #31a37b;
$custom-light: #78bfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#31a37b",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 123
  },
  "hsl": {
    "h": 158.947,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6418,
    "c": 0.11803,
    "h": 165.3
  },
  "luminance": 0.28277
}

Semantic roles & 50–950 ramp

primary
#31A37B
secondary
#BF718C
accent
#4B7EDD
background
#F7FBF9
surface
#EEF7F2
border
#C9D0CC
text
#0A120F
muted
#7C817E

Preview Lab

Preview with #31A37B

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

Preview Lab → · Contrast checker → · Palette generator →

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