#31B782#31B782

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

Color values

HEX#31B782
RGBrgb(49, 183, 130)
HSLhsl(156, 58%, 45%)
HSVhsv(156, 73%, 72%)
CMYKcmyk(73.2%, 0%, 29%, 28.2%)
CIE-LABlab(66.62, -48.07, 16.92)
CIE-LCHlch(66.62, 50.96, 160.60°)
OKLaboklab(69.55% -0.1313 0.043)
OKLCHoklch(69.55% 0.138 161.9)
XYZxyz(22.2270, 36.1290, 26.9169)
Luminance0.3613 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B782 #B73166
analogous
#31B73F #31B782 #31A9B7
triadic
#31B782 #8231B7 #B78231
tetradic
#31B782 #3F31B7 #B73166 #A9B731
square
#31B782 #3F31B7 #B73166 #A9B731
split-complementary
#31B782 #B731A9 #B73F31
monochromatic
#17563D #248760 #31B782 #54D1A0 #84DEBB

Accessibility & contrast

On white

2.55
#31B782 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#31B782 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B782
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B782#FFFFFF#000000##000000
##31B7821.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A97F
Deuteranopia (green-blind)
#A39D85
Tritanopia (blue-blind)
#00B7A9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b782;
/* rgb */ color: rgb(49, 183, 130);
/* oklch */ color: oklch(69.5% 0.138 161.9);
Tailwind
colors: {
  custom: {
    50: '#7ccda6',
    500: '#31b782',
    950: '#000000',
  },
}
SCSS
$custom: #31b782;
$custom-light: #7ccda6;
$custom-dark: #000000;
JSON
{
  "hex": "#31b782",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 130
  },
  "hsl": {
    "h": 156.269,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.6955,
    "c": 0.13819,
    "h": 161.9
  },
  "luminance": 0.36132
}

Semantic roles & 50–950 ramp

primary
#31B782
secondary
#C87C9A
accent
#4784E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B140F
muted
#7C827F

Preview Lab

Preview with #31B782

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

Preview Lab → · Contrast checker → · Palette generator →

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