#31A978#31A978

#31A978 is a light, vivid teal. Relative luminance 0.304; OKLCH L 65.7% C 0.128 H 161.6°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#31A978
RGBrgb(49, 169, 120)
HSLhsl(156, 55%, 43%)
HSVhsv(156, 71%, 66%)
CMYKcmyk(71%, 0%, 29%, 33.7%)
CIE-LABlab(61.98, -44.59, 15.97)
CIE-LCHlch(61.98, 47.36, 160.29°)
OKLaboklab(65.67% -0.1219 0.0406)
OKLCHoklch(65.67% 0.128 161.6)
XYZxyz(18.8428, 30.3828, 22.6371)
Luminance0.3039 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A978 #A93162
analogous
#31A93C #31A978 #319EA9
triadic
#31A978 #7831A9 #A97831
tetradic
#31A978 #3C31A9 #A93162 #9EA931
square
#31A978 #3C31A9 #A93162 #9EA931
split-complementary
#31A978 #A9319E #A93C31
monochromatic
#154A35 #237A56 #31A978 #4CCB97 #7CD9B3

Accessibility & contrast

On white

2.97
#31A978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#31A978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A978
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A978#FFFFFF#000000##000000
##31A9781.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69C75
Deuteranopia (green-blind)
#97917B
Tritanopia (blue-blind)
#00A99C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31a978;
/* rgb */ color: rgb(49, 169, 120);
/* oklch */ color: oklch(65.7% 0.128 161.6);
Tailwind
colors: {
  custom: {
    50: '#79c39f',
    500: '#31a978',
    950: '#000000',
  },
}
SCSS
$custom: #31a978;
$custom-light: #79c39f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a978",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 120
  },
  "hsl": {
    "h": 155.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65674,
    "c": 0.12846,
    "h": 161.6
  },
  "luminance": 0.30385
}

Semantic roles & 50–950 ramp

primary
#31A978
secondary
#C17494
accent
#4986DE
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A130E
muted
#7C827E

Preview Lab

Preview with #31A978

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

Preview Lab → · Contrast checker → · Palette generator →

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