#31AA78#31AA78

#31AA78 is a light, vivid teal. Relative luminance 0.308; OKLCH L 65.9% C 0.130 H 161.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#31AA78
RGBrgb(49, 170, 120)
HSLhsl(155, 55%, 43%)
HSVhsv(155, 71%, 67%)
CMYKcmyk(71.2%, 0%, 29.4%, 33.3%)
CIE-LABlab(62.30, -45.00, 16.41)
CIE-LCHlch(62.30, 47.90, 159.96°)
OKLaboklab(65.94% -0.1229 0.0417)
OKLCHoklch(65.94% 0.13 161.2)
XYZxyz(19.0296, 30.7563, 22.6993)
Luminance0.3076 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA78 #AA3163
analogous
#31AA3C #31AA78 #319FAA
triadic
#31AA78 #7831AA #AA7831
tetradic
#31AA78 #3C31AA #AA3163 #9FAA31
square
#31AA78 #3C31AA #AA3163 #9FAA31
split-complementary
#31AA78 #AA319F #AA3C31
monochromatic
#164B35 #237A56 #31AA78 #4DCC97 #7CD9B3

Accessibility & contrast

On white

2.94
#31AA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#31AA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AA78
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA78#FFFFFF#000000##000000
##31AA781.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89D75
Deuteranopia (green-blind)
#98927B
Tritanopia (blue-blind)
#00AA9D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31aa78;
/* rgb */ color: rgb(49, 170, 120);
/* oklch */ color: oklch(65.9% 0.130 161.2);
Tailwind
colors: {
  custom: {
    50: '#7ac49f',
    500: '#31aa78',
    950: '#000000',
  },
}
SCSS
$custom: #31aa78;
$custom-light: #7ac49f;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa78",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 120
  },
  "hsl": {
    "h": 155.207,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65935,
    "c": 0.12979,
    "h": 161.2
  },
  "luminance": 0.30758
}

Semantic roles & 50–950 ramp

primary
#31AA78
secondary
#C27595
accent
#4987DF
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0A130E
muted
#7C827E

Preview Lab

Preview with #31AA78

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

Preview Lab → · Contrast checker → · Palette generator →

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