#31A57B#31A57B

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

Color values

HEX#31A57B
RGBrgb(49, 165, 123)
HSLhsl(158, 54%, 42%)
HSVhsv(158, 70%, 65%)
CMYKcmyk(70.3%, 0%, 25.5%, 35.3%)
CIE-LABlab(60.77, -42.23, 12.63)
CIE-LCHlch(60.77, 44.08, 163.35°)
OKLaboklab(64.7% -0.1163 0.0323)
OKLCHoklch(64.7% 0.121 164.5)
XYZxyz(18.2949, 28.9912, 23.3667)
Luminance0.2899 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A57B #A5315B
analogous
#31A541 #31A57B #3195A5
triadic
#31A57B #7B31A5 #A57B31
tetradic
#31A57B #4131A5 #A5315B #95A531
square
#31A57B #4131A5 #A5315B #95A531
split-complementary
#31A57B #A53195 #A54131
monochromatic
#154735 #237658 #31A57B #4AC99B #79D7B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A57B#FFFFFF#000000##000000
##31A57B1.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)
#A29979
Deuteranopia (green-blind)
#938E7E
Tritanopia (blue-blind)
#00A599
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a57b;
/* rgb */ color: rgb(49, 165, 123);
/* oklch */ color: oklch(64.7% 0.121 164.5);
Tailwind
colors: {
  custom: {
    50: '#79c0a1',
    500: '#31a57b',
    950: '#000000',
  },
}
SCSS
$custom: #31a57b;
$custom-light: #79c0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31a57b",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 123
  },
  "hsl": {
    "h": 158.276,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64702,
    "c": 0.12065,
    "h": 164.5
  },
  "luminance": 0.28993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A57B

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

Preview Lab → · Contrast checker → · Palette generator →

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