#31A57C#31A57C

#31A57C is a light, moderate teal. Relative luminance 0.290; OKLCH L 64.7% C 0.120 H 165.0°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#31A57C
RGBrgb(49, 165, 124)
HSLhsl(159, 54%, 42%)
HSVhsv(159, 70%, 65%)
CMYKcmyk(70.3%, 0%, 24.8%, 35.3%)
CIE-LABlab(60.80, -42.00, 12.10)
CIE-LCHlch(60.80, 43.70, 163.92°)
OKLaboklab(64.73% -0.1158 0.0309)
OKLCHoklch(64.73% 0.12 165)
XYZxyz(18.3579, 29.0164, 23.6981)
Luminance0.2902 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A57C #A5315A
analogous
#31A542 #31A57C #3194A5
triadic
#31A57C #7C31A5 #A57C31
tetradic
#31A57C #4231A5 #A5315A #94A531
square
#31A57C #4231A5 #A5315A #94A531
split-complementary
#31A57C #A53194 #A54231
monochromatic
#154735 #237659 #31A57C #4AC99C #79D7B6

Accessibility & contrast

On white

3.09
#31A57C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#31A57C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A57C
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A57C#FFFFFF#000000##000000
##31A57C1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2997A
Deuteranopia (green-blind)
#928E7F
Tritanopia (blue-blind)
#00A59A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a57c;
/* rgb */ color: rgb(49, 165, 124);
/* oklch */ color: oklch(64.7% 0.120 165.0);
Tailwind
colors: {
  custom: {
    50: '#79c0a2',
    500: '#31a57c',
    950: '#000000',
  },
}
SCSS
$custom: #31a57c;
$custom-light: #79c0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#31a57c",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 124
  },
  "hsl": {
    "h": 158.793,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64728,
    "c": 0.11983,
    "h": 165
  },
  "luminance": 0.29018
}

Semantic roles & 50–950 ramp

primary
#31A57C
secondary
#C0728E
accent
#4A7EDE
background
#F7FBF9
surface
#EEF7F2
border
#C9D0CC
text
#0A120F
muted
#7C817E

Preview Lab

Preview with #31A57C

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

Preview Lab → · Contrast checker → · Palette generator →

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