#31A671#31A671

#31A671 is a light, vivid teal. Relative luminance 0.291; OKLCH L 64.7% C 0.131 H 159.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#31A671
RGBrgb(49, 166, 113)
HSLhsl(153, 54%, 42%)
HSVhsv(153, 70%, 65%)
CMYKcmyk(70.5%, 0%, 31.9%, 34.9%)
CIE-LABlab(60.88, -44.89, 18.31)
CIE-LCHlch(60.88, 48.48, 157.81°)
OKLaboklab(64.72% -0.1221 0.0464)
OKLCHoklch(64.72% 0.131 159.2)
XYZxyz(17.8817, 29.1156, 20.2971)
Luminance0.2912 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A671 #A63166
analogous
#31A637 #31A671 #31A0A6
triadic
#31A671 #7131A6 #A67131
tetradic
#31A671 #3731A6 #A63166 #A0A631
square
#31A671 #3731A6 #A63166 #A0A631
split-complementary
#31A671 #A631A0 #A63731
monochromatic
#154731 #237751 #31A671 #4ACA90 #7AD8AD

Accessibility & contrast

On white

3.08
#31A671 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#31A671 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A671
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A671#FFFFFF#000000##000000
##31A6711.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4996E
Deuteranopia (green-blind)
#958F74
Tritanopia (blue-blind)
#00A598
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a671;
/* rgb */ color: rgb(49, 166, 113);
/* oklch */ color: oklch(64.7% 0.131 159.2);
Tailwind
colors: {
  custom: {
    50: '#79c19a',
    500: '#31a671',
    950: '#000000',
  },
}
SCSS
$custom: #31a671;
$custom-light: #79c19a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a671",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 113
  },
  "hsl": {
    "h": 152.821,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64723,
    "c": 0.13065,
    "h": 159.2
  },
  "luminance": 0.29118
}

Semantic roles & 50–950 ramp

primary
#31A671
secondary
#C07396
accent
#4A8DDE
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A120E
muted
#7C817E

Preview Lab

Preview with #31A671

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

Preview Lab → · Contrast checker → · Palette generator →

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