#31B780#31B780

#31B780 is a light, vivid teal. Relative luminance 0.361; OKLCH L 69.5% C 0.140 H 161.0°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#31B780
RGBrgb(49, 183, 128)
HSLhsl(155, 58%, 45%)
HSVhsv(155, 73%, 72%)
CMYKcmyk(73.2%, 0%, 30.1%, 28.2%)
CIE-LABlab(66.58, -48.51, 17.95)
CIE-LCHlch(66.58, 51.72, 159.69°)
OKLaboklab(69.5% -0.1323 0.0456)
OKLCHoklch(69.5% 0.14 161)
XYZxyz(22.0941, 36.0759, 26.2168)
Luminance0.3608 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B780 #B73168
analogous
#31B73D #31B780 #31ABB7
triadic
#31B780 #8031B7 #B78031
tetradic
#31B780 #3D31B7 #B73168 #ABB731
square
#31B780 #3D31B7 #B73168 #ABB731
split-complementary
#31B780 #B731AB #B73D31
monochromatic
#17563C #24875E #31B780 #54D19E #84DEB9

Accessibility & contrast

On white

2.56
#31B780 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#31B780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B780
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B780#FFFFFF#000000##000000
##31B7801.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A97D
Deuteranopia (green-blind)
#A49D84
Tritanopia (blue-blind)
#00B6A8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b780;
/* rgb */ color: rgb(49, 183, 128);
/* oklch */ color: oklch(69.5% 0.140 161.0);
Tailwind
colors: {
  custom: {
    50: '#7ccda5',
    500: '#31b780',
    950: '#000000',
  },
}
SCSS
$custom: #31b780;
$custom-light: #7ccda5;
$custom-dark: #000000;
JSON
{
  "hex": "#31b780",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 128
  },
  "hsl": {
    "h": 155.373,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69503,
    "c": 0.1399,
    "h": 161
  },
  "luminance": 0.36078
}

Semantic roles & 50–950 ramp

primary
#31B780
secondary
#C87C9B
accent
#4786E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B140F
muted
#7C827F

Preview Lab

Preview with #31B780

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

Preview Lab → · Contrast checker → · Palette generator →

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