#31AC71#31AC71

#31AC71 is a light, vivid teal. Relative luminance 0.314; OKLCH L 66.3% C 0.139 H 157.7°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#31AC71
RGBrgb(49, 172, 113)
HSLhsl(151, 56%, 43%)
HSVhsv(151, 72%, 67%)
CMYKcmyk(71.5%, 0%, 34.3%, 32.5%)
CIE-LABlab(62.80, -47.31, 20.92)
CIE-LCHlch(62.80, 51.73, 156.15°)
OKLaboklab(66.3% -0.1283 0.0527)
OKLCHoklch(66.3% 0.139 157.7)
XYZxyz(18.9979, 31.3481, 20.6691)
Luminance0.3135 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC71 #AC316C
analogous
#31AC34 #31AC71 #31A9AC
triadic
#31AC71 #7131AC #AC7131
tetradic
#31AC71 #3431AC #AC316C #A9AC31
square
#31AC71 #3431AC #AC316C #A9AC31
split-complementary
#31AC71 #AC31A9 #AC3431
monochromatic
#164D32 #237C52 #31AC71 #4ECC90 #7DDAAE

Accessibility & contrast

On white

2.89
#31AC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#31AC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC71
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC71#FFFFFF#000000##000000
##31AC711.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9E6D
Deuteranopia (green-blind)
#9B9375
Tritanopia (blue-blind)
#00AB9D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31ac71;
/* rgb */ color: rgb(49, 172, 113);
/* oklch */ color: oklch(66.3% 0.139 157.7);
Tailwind
colors: {
  custom: {
    50: '#7ac69a',
    500: '#31ac71',
    950: '#000000',
  },
}
SCSS
$custom: #31ac71;
$custom-light: #7ac69a;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac71",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 113
  },
  "hsl": {
    "h": 151.22,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.663,
    "c": 0.13872,
    "h": 157.7
  },
  "luminance": 0.3135
}

Semantic roles & 50–950 ramp

primary
#31AC71
secondary
#C3769B
accent
#4991DF
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0A130E
muted
#7C827E

Preview Lab

Preview with #31AC71

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

Preview Lab → · Contrast checker → · Palette generator →

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