#31A57D#31A57D

#31A57D is a light, moderate teal. Relative luminance 0.290; OKLCH L 64.8% C 0.119 H 165.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#31A57D
RGBrgb(49, 165, 125)
HSLhsl(159, 54%, 42%)
HSVhsv(159, 70%, 65%)
CMYKcmyk(70.3%, 0%, 24.2%, 35.3%)
CIE-LABlab(60.82, -41.76, 11.58)
CIE-LCHlch(60.82, 43.33, 164.50°)
OKLaboklab(64.75% -0.1153 0.0296)
OKLCHoklch(64.75% 0.119 165.6)
XYZxyz(18.4214, 29.0418, 24.0328)
Luminance0.2904 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A57D #A53159
analogous
#31A543 #31A57D #3193A5
triadic
#31A57D #7D31A5 #A57D31
tetradic
#31A57D #4331A5 #A53159 #93A531
square
#31A57D #4331A5 #A53159 #93A531
split-complementary
#31A57D #A53193 #A54331
monochromatic
#154736 #237659 #31A57D #4AC99D #79D7B7

Accessibility & contrast

On white

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

On black

6.81
#31A57D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A57D
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A57D#FFFFFF#000000##000000
##31A57D1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a57d;
/* rgb */ color: rgb(49, 165, 125);
/* oklch */ color: oklch(64.8% 0.119 165.6);
Tailwind
colors: {
  custom: {
    50: '#79c0a2',
    500: '#31a57d',
    950: '#000000',
  },
}
SCSS
$custom: #31a57d;
$custom-light: #79c0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#31a57d",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 125
  },
  "hsl": {
    "h": 159.31,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64754,
    "c": 0.11903,
    "h": 165.6
  },
  "luminance": 0.29044
}

Semantic roles & 50–950 ramp

primary
#31A57D
secondary
#C0728D
accent
#4A7DDE
background
#F7FBFA
surface
#EEF7F3
border
#C9D0CD
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A57D

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

Preview Lab → · Contrast checker → · Palette generator →

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