#31A778#31A778

#31A778 is a light, vivid teal. Relative luminance 0.296; OKLCH L 65.2% C 0.126 H 162.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#31A778
RGBrgb(49, 167, 120)
HSLhsl(156, 55%, 42%)
HSVhsv(156, 71%, 65%)
CMYKcmyk(70.7%, 0%, 28.1%, 34.5%)
CIE-LABlab(61.35, -43.76, 15.09)
CIE-LCHlch(61.35, 46.29, 160.98°)
OKLaboklab(65.15% -0.1198 0.0384)
OKLCHoklch(65.15% 0.126 162.2)
XYZxyz(18.4736, 29.6444, 22.5140)
Luminance0.2965 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A778 #A73160
analogous
#31A73D #31A778 #319BA7
triadic
#31A778 #7831A7 #A77831
tetradic
#31A778 #3D31A7 #A73160 #9BA731
square
#31A778 #3D31A7 #A73160 #9BA731
split-complementary
#31A778 #A7319B #A73D31
monochromatic
#154834 #237856 #31A778 #4BCA98 #7AD8B3

Accessibility & contrast

On white

3.03
#31A778 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#31A778 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A778
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A778#FFFFFF#000000##000000
##31A7781.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49B75
Deuteranopia (green-blind)
#95907B
Tritanopia (blue-blind)
#00A79A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a778;
/* rgb */ color: rgb(49, 167, 120);
/* oklch */ color: oklch(65.2% 0.126 162.2);
Tailwind
colors: {
  custom: {
    50: '#79c29f',
    500: '#31a778',
    950: '#000000',
  },
}
SCSS
$custom: #31a778;
$custom-light: #79c29f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a778",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 120
  },
  "hsl": {
    "h": 156.102,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65151,
    "c": 0.12581,
    "h": 162.2
  },
  "luminance": 0.29646
}

Semantic roles & 50–950 ramp

primary
#31A778
secondary
#C17392
accent
#4A85DE
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A120E
muted
#7C817E

Preview Lab

Preview with #31A778

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

Preview Lab → · Contrast checker → · Palette generator →

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