#31A770#31A770

#31A770 is a light, vivid teal. Relative luminance 0.295; OKLCH L 65.0% C 0.133 H 158.5°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#31A770
RGBrgb(49, 167, 112)
HSLhsl(152, 55%, 42%)
HSVhsv(152, 71%, 65%)
CMYKcmyk(70.7%, 0%, 32.9%, 34.5%)
CIE-LABlab(61.18, -45.51, 19.27)
CIE-LCHlch(61.18, 49.42, 157.06°)
OKLaboklab(64.96% -0.1237 0.0487)
OKLCHoklch(64.96% 0.133 158.5)
XYZxyz(18.0082, 29.4582, 20.0630)
Luminance0.2946 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A770 #A73168
analogous
#31A735 #31A770 #31A3A7
triadic
#31A770 #7031A7 #A77031
tetradic
#31A770 #3531A7 #A73168 #A3A731
square
#31A770 #3531A7 #A73168 #A3A731
split-complementary
#31A770 #A731A3 #A73531
monochromatic
#154831 #237850 #31A770 #4BCA8F #7AD8AC

Accessibility & contrast

On white

3.05
#31A770 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#31A770 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A770
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A770#FFFFFF#000000##000000
##31A7701.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59A6D
Deuteranopia (green-blind)
#968F74
Tritanopia (blue-blind)
#00A699
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a770;
/* rgb */ color: rgb(49, 167, 112);
/* oklch */ color: oklch(65.0% 0.133 158.5);
Tailwind
colors: {
  custom: {
    50: '#79c299',
    500: '#31a770',
    950: '#000000',
  },
}
SCSS
$custom: #31a770;
$custom-light: #79c299;
$custom-dark: #000000;
JSON
{
  "hex": "#31a770",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 112
  },
  "hsl": {
    "h": 152.034,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64964,
    "c": 0.1329,
    "h": 158.5
  },
  "luminance": 0.2946
}

Semantic roles & 50–950 ramp

primary
#31A770
secondary
#C17397
accent
#4A8FDE
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A120E
muted
#7C817E

Preview Lab

Preview with #31A770

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

Preview Lab → · Contrast checker → · Palette generator →

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