#31A773#31A773

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

Color values

HEX#31A773
RGBrgb(49, 167, 115)
HSLhsl(154, 55%, 42%)
HSVhsv(154, 71%, 65%)
CMYKcmyk(70.7%, 0%, 31.1%, 34.5%)
CIE-LABlab(61.24, -44.87, 17.70)
CIE-LCHlch(61.24, 48.24, 158.47°)
OKLaboklab(65.03% -0.1222 0.0449)
OKLCHoklch(65.03% 0.13 159.8)
XYZxyz(18.1780, 29.5262, 20.9574)
Luminance0.2953 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A773 #A73165
analogous
#31A738 #31A773 #31A0A7
triadic
#31A773 #7331A7 #A77331
tetradic
#31A773 #3831A7 #A73165 #A0A731
square
#31A773 #3831A7 #A73165 #A0A731
split-complementary
#31A773 #A731A0 #A73831
monochromatic
#154832 #237852 #31A773 #4BCA92 #7AD8AF

Accessibility & contrast

On white

3.04
#31A773 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#31A773 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A773
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A773#FFFFFF#000000##000000
##31A7731.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a773;
/* rgb */ color: rgb(49, 167, 115);
/* oklch */ color: oklch(65.0% 0.130 159.8);
Tailwind
colors: {
  custom: {
    50: '#79c29b',
    500: '#31a773',
    950: '#000000',
  },
}
SCSS
$custom: #31a773;
$custom-light: #79c29b;
$custom-dark: #000000;
JSON
{
  "hex": "#31a773",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 115
  },
  "hsl": {
    "h": 153.559,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65032,
    "c": 0.1302,
    "h": 159.8
  },
  "luminance": 0.29528
}

Semantic roles & 50–950 ramp

primary
#31A773
secondary
#C17395
accent
#4A8BDE
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A120E
muted
#7C817E

Preview Lab

Preview with #31A773

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

Preview Lab → · Contrast checker → · Palette generator →

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