#31A37F#31A37F

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

Color values

HEX#31A37F
RGBrgb(49, 163, 127)
HSLhsl(161, 54%, 42%)
HSVhsv(161, 70%, 64%)
CMYKcmyk(69.9%, 0%, 22.1%, 36.1%)
CIE-LABlab(60.23, -40.42, 9.63)
CIE-LCHlch(60.23, 41.55, 166.60°)
OKLaboklab(64.29% -0.1122 0.0246)
OKLCHoklch(64.29% 0.115 167.6)
XYZxyz(18.1926, 28.3776, 24.5932)
Luminance0.2838 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A37F #A33155
analogous
#31A346 #31A37F #318EA3
triadic
#31A37F #7F31A3 #A37F31
tetradic
#31A37F #4631A3 #A33155 #8EA331
square
#31A37F #4631A3 #A33155 #8EA331
split-complementary
#31A37F #A3318E #A34631
monochromatic
#154536 #23745A #31A37F #49C8A0 #78D6B9

Accessibility & contrast

On white

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

On black

6.68
#31A37F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A37F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A37F#FFFFFF#000000##000000
##31A37F1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a37f;
/* rgb */ color: rgb(49, 163, 127);
/* oklch */ color: oklch(64.3% 0.115 167.6);
Tailwind
colors: {
  custom: {
    50: '#78bfa4',
    500: '#31a37f',
    950: '#000000',
  },
}
SCSS
$custom: #31a37f;
$custom-light: #78bfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#31a37f",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 127
  },
  "hsl": {
    "h": 161.053,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64285,
    "c": 0.11489,
    "h": 167.6
  },
  "luminance": 0.2838
}

Semantic roles & 50–950 ramp

primary
#31A37F
secondary
#BF718A
accent
#4B79DD
background
#F7FBFA
surface
#EEF7F4
border
#C9D0CE
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A37F

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

Preview Lab → · Contrast checker → · Palette generator →

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