#31A57E#31A57E

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

Color values

HEX#31A57E
RGBrgb(49, 165, 126)
HSLhsl(160, 54%, 42%)
HSVhsv(160, 70%, 65%)
CMYKcmyk(70.3%, 0%, 23.6%, 35.3%)
CIE-LABlab(60.84, -41.52, 11.05)
CIE-LCHlch(60.84, 42.97, 165.09°)
OKLaboklab(64.78% -0.1148 0.0283)
OKLCHoklch(64.78% 0.118 166.2)
XYZxyz(18.4856, 29.0675, 24.3710)
Luminance0.2907 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A57E #A53158
analogous
#31A544 #31A57E #3192A5
triadic
#31A57E #7E31A5 #A57E31
tetradic
#31A57E #4431A5 #A53158 #92A531
square
#31A57E #4431A5 #A53158 #92A531
split-complementary
#31A57E #A53192 #A54431
monochromatic
#154736 #23765A #31A57E #4AC99E #79D7B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A57E#FFFFFF#000000##000000
##31A57E1.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)
#A1997C
Deuteranopia (green-blind)
#928E81
Tritanopia (blue-blind)
#00A59A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a57e;
/* rgb */ color: rgb(49, 165, 126);
/* oklch */ color: oklch(64.8% 0.118 166.2);
Tailwind
colors: {
  custom: {
    50: '#79c0a3',
    500: '#31a57e',
    950: '#000000',
  },
}
SCSS
$custom: #31a57e;
$custom-light: #79c0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#31a57e",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 126
  },
  "hsl": {
    "h": 159.828,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6478,
    "c": 0.11823,
    "h": 166.2
  },
  "luminance": 0.2907
}

Semantic roles & 50–950 ramp

primary
#31A57E
secondary
#C0728C
accent
#4A7CDE
background
#F7FBFA
surface
#EEF7F3
border
#C9D0CD
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A57E

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

Preview Lab → · Contrast checker → · Palette generator →

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