#31A878#31A878

#31A878 is a light, vivid teal. Relative luminance 0.300; OKLCH L 65.4% C 0.127 H 161.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#31A878
RGBrgb(49, 168, 120)
HSLhsl(156, 55%, 43%)
HSVhsv(156, 71%, 66%)
CMYKcmyk(70.8%, 0%, 28.6%, 34.1%)
CIE-LABlab(61.66, -44.18, 15.53)
CIE-LCHlch(61.66, 46.83, 160.63°)
OKLaboklab(65.41% -0.1208 0.0395)
OKLCHoklch(65.41% 0.127 161.9)
XYZxyz(18.6575, 30.0122, 22.5753)
Luminance0.3001 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A878 #A83161
analogous
#31A83C #31A878 #319DA8
triadic
#31A878 #7831A8 #A87831
tetradic
#31A878 #3C31A8 #A83161 #9DA831
square
#31A878 #3C31A8 #A83161 #9DA831
split-complementary
#31A878 #A8319D #A83C31
monochromatic
#154934 #237956 #31A878 #4CCB97 #7BD8B3

Accessibility & contrast

On white

3.00
#31A878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#31A878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A878
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A878#FFFFFF#000000##000000
##31A8781.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59B75
Deuteranopia (green-blind)
#96907B
Tritanopia (blue-blind)
#00A89B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31a878;
/* rgb */ color: rgb(49, 168, 120);
/* oklch */ color: oklch(65.4% 0.127 161.9);
Tailwind
colors: {
  custom: {
    50: '#79c39f',
    500: '#31a878',
    950: '#000000',
  },
}
SCSS
$custom: #31a878;
$custom-light: #79c39f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a878",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 120
  },
  "hsl": {
    "h": 155.798,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65412,
    "c": 0.12714,
    "h": 161.9
  },
  "luminance": 0.30014
}

Semantic roles & 50–950 ramp

primary
#31A878
secondary
#C17493
accent
#4A86DE
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A120E
muted
#7C817E

Preview Lab

Preview with #31A878

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

Preview Lab → · Contrast checker → · Palette generator →

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