#31A97F#31A97F

#31A97F is a light, vivid teal. Relative luminance 0.306; OKLCH L 65.8% C 0.123 H 165.1°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#31A97F
RGBrgb(49, 169, 127)
HSLhsl(159, 55%, 43%)
HSVhsv(159, 71%, 66%)
CMYKcmyk(71%, 0%, 24.9%, 33.7%)
CIE-LABlab(62.13, -42.98, 12.32)
CIE-LCHlch(62.13, 44.71, 164.01°)
OKLaboklab(65.85% -0.1185 0.0315)
OKLCHoklch(65.85% 0.123 165.1)
XYZxyz(19.2833, 30.5590, 24.9568)
Luminance0.3056 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A97F #A9315B
analogous
#31A943 #31A97F #3197A9
triadic
#31A97F #7F31A9 #A97F31
tetradic
#31A97F #4331A9 #A9315B #97A931
square
#31A97F #4331A9 #A9315B #97A931
split-complementary
#31A97F #A93197 #A94331
monochromatic
#154A38 #237A5B #31A97F #4CCB9F #7CD9B8

Accessibility & contrast

On white

2.95
#31A97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#31A97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A97F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A97F#FFFFFF#000000##000000
##31A97F1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69D7D
Deuteranopia (green-blind)
#969282
Tritanopia (blue-blind)
#00A99D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31a97f;
/* rgb */ color: rgb(49, 169, 127);
/* oklch */ color: oklch(65.8% 0.123 165.1);
Tailwind
colors: {
  custom: {
    50: '#79c3a4',
    500: '#31a97f',
    950: '#000000',
  },
}
SCSS
$custom: #31a97f;
$custom-light: #79c3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#31a97f",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 127
  },
  "hsl": {
    "h": 159,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65847,
    "c": 0.12259,
    "h": 165.1
  },
  "luminance": 0.30561
}

Semantic roles & 50–950 ramp

primary
#31A97F
secondary
#C1748F
accent
#497EDE
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0A130F
muted
#7C827F

Preview Lab

Preview with #31A97F

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

Preview Lab → · Contrast checker → · Palette generator →

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