#31A97B#31A97B

#31A97B is a light, vivid teal. Relative luminance 0.305; OKLCH L 65.7% C 0.126 H 163.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#31A97B
RGBrgb(49, 169, 123)
HSLhsl(157, 55%, 43%)
HSVhsv(157, 71%, 66%)
CMYKcmyk(71%, 0%, 27.2%, 33.7%)
CIE-LABlab(62.05, -43.91, 14.41)
CIE-LCHlch(62.05, 46.21, 161.84°)
OKLaboklab(65.75% -0.1204 0.0367)
OKLCHoklch(65.75% 0.126 163)
XYZxyz(19.0277, 30.4568, 23.6110)
Luminance0.3046 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A97B #A9315F
analogous
#31A93F #31A97B #319BA9
triadic
#31A97B #7B31A9 #A97B31
tetradic
#31A97B #3F31A9 #A9315F #9BA931
square
#31A97B #3F31A9 #A9315F #9BA931
split-complementary
#31A97B #A9319B #A93F31
monochromatic
#154A36 #237A58 #31A97B #4CCB9A #7CD9B5

Accessibility & contrast

On white

2.96
#31A97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#31A97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A97B
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A97B#FFFFFF#000000##000000
##31A97B1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69D78
Deuteranopia (green-blind)
#97917E
Tritanopia (blue-blind)
#00A99C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31a97b;
/* rgb */ color: rgb(49, 169, 123);
/* oklch */ color: oklch(65.7% 0.126 163.0);
Tailwind
colors: {
  custom: {
    50: '#79c3a1',
    500: '#31a97b',
    950: '#000000',
  },
}
SCSS
$custom: #31a97b;
$custom-light: #79c3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31a97b",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 123
  },
  "hsl": {
    "h": 157,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65746,
    "c": 0.12589,
    "h": 163
  },
  "luminance": 0.30459
}

Semantic roles & 50–950 ramp

primary
#31A97B
secondary
#C17492
accent
#4983DE
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A130F
muted
#7C827E

Preview Lab

Preview with #31A97B

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

Preview Lab → · Contrast checker → · Palette generator →

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