#31A371#31A371

#31A371 is a light, vivid teal. Relative luminance 0.280; OKLCH L 63.9% C 0.127 H 160.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#31A371
RGBrgb(49, 163, 113)
HSLhsl(154, 54%, 42%)
HSVhsv(154, 70%, 64%)
CMYKcmyk(69.9%, 0%, 30.7%, 36.1%)
CIE-LABlab(59.92, -43.66, 16.99)
CIE-LCHlch(59.92, 46.85, 158.74°)
OKLaboklab(63.93% -0.119 0.0431)
OKLCHoklch(63.93% 0.127 160.1)
XYZxyz(17.3427, 28.0377, 20.1174)
Luminance0.2804 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A371 #A33163
analogous
#31A338 #31A371 #319CA3
triadic
#31A371 #7131A3 #A37131
tetradic
#31A371 #3831A3 #A33163 #9CA331
square
#31A371 #3831A3 #A33163 #9CA331
split-complementary
#31A371 #A3319C #A33831
monochromatic
#154530 #237450 #31A371 #49C890 #78D6AD

Accessibility & contrast

On white

3.18
#31A371 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#31A371 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A371
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A371#FFFFFF#000000##000000
##31A3711.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1976E
Deuteranopia (green-blind)
#928C74
Tritanopia (blue-blind)
#00A296
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a371;
/* rgb */ color: rgb(49, 163, 113);
/* oklch */ color: oklch(63.9% 0.127 160.1);
Tailwind
colors: {
  custom: {
    50: '#78bf9a',
    500: '#31a371',
    950: '#000000',
  },
}
SCSS
$custom: #31a371;
$custom-light: #78bf9a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a371",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 113
  },
  "hsl": {
    "h": 153.684,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63934,
    "c": 0.1266,
    "h": 160.1
  },
  "luminance": 0.2804
}

Semantic roles & 50–950 ramp

primary
#31A371
secondary
#BF7193
accent
#4B8BDD
background
#F7FBF9
surface
#EEF7F2
border
#C9D0CC
text
#0A120E
muted
#7C817E

Preview Lab

Preview with #31A371

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

Preview Lab → · Contrast checker → · Palette generator →

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