#31A780#31A780

#31A780 is a light, moderate teal. Relative luminance 0.298; OKLCH L 65.4% C 0.119 H 166.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#31A780
RGBrgb(49, 167, 128)
HSLhsl(160, 55%, 42%)
HSVhsv(160, 71%, 65%)
CMYKcmyk(70.7%, 0%, 23.4%, 34.5%)
CIE-LABlab(61.52, -41.90, 10.90)
CIE-LCHlch(61.52, 43.29, 165.42°)
OKLaboklab(65.35% -0.1159 0.0279)
OKLCHoklch(65.35% 0.119 166.5)
XYZxyz(18.9795, 29.8468, 25.1786)
Luminance0.2985 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A780 #A73158
analogous
#31A745 #31A780 #3193A7
triadic
#31A780 #8031A7 #A78031
tetradic
#31A780 #4531A7 #A73158 #93A731
square
#31A780 #4531A7 #A73158 #93A731
split-complementary
#31A780 #A73193 #A74531
monochromatic
#154837 #23785C #31A780 #4BCAA0 #7AD8B9

Accessibility & contrast

On white

3.01
#31A780 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#31A780 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A780
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A780#FFFFFF#000000##000000
##31A7801.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39B7E
Deuteranopia (green-blind)
#949083
Tritanopia (blue-blind)
#00A89C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31a780;
/* rgb */ color: rgb(49, 167, 128);
/* oklch */ color: oklch(65.4% 0.119 166.5);
Tailwind
colors: {
  custom: {
    50: '#79c2a4',
    500: '#31a780',
    950: '#000000',
  },
}
SCSS
$custom: #31a780;
$custom-light: #79c2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#31a780",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 128
  },
  "hsl": {
    "h": 160.169,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65353,
    "c": 0.11922,
    "h": 166.5
  },
  "luminance": 0.29849
}

Semantic roles & 50–950 ramp

primary
#31A780
secondary
#C1738D
accent
#4A7BDE
background
#F7FCFA
surface
#EEF8F4
border
#C9D1CE
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A780

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

Preview Lab → · Contrast checker → · Palette generator →

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