#31B882#31B882

#31B882 is a light, vivid teal. Relative luminance 0.365; OKLCH L 69.8% C 0.139 H 161.6°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#31B882
RGBrgb(49, 184, 130)
HSLhsl(156, 58%, 46%)
HSVhsv(156, 73%, 72%)
CMYKcmyk(73.4%, 0%, 29.3%, 27.8%)
CIE-LABlab(66.93, -48.47, 17.36)
CIE-LCHlch(66.93, 51.48, 160.30°)
OKLaboklab(69.81% -0.1323 0.0441)
OKLCHoklch(69.81% 0.139 161.6)
XYZxyz(22.4340, 36.5430, 26.9859)
Luminance0.3655 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B882 #B83167
analogous
#31B83E #31B882 #31AAB8
triadic
#31B882 #8231B8 #B88231
tetradic
#31B882 #3E31B8 #B83167 #AAB831
square
#31B882 #3E31B8 #B83167 #AAB831
split-complementary
#31B882 #B831AA #B83E31
monochromatic
#17573E #248860 #31B882 #55D2A0 #85DEBB

Accessibility & contrast

On white

2.53
#31B882 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#31B882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B882
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B882#FFFFFF#000000##000000
##31B8821.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5AA7F
Deuteranopia (green-blind)
#A49E86
Tritanopia (blue-blind)
#00B8AA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b882;
/* rgb */ color: rgb(49, 184, 130);
/* oklch */ color: oklch(69.8% 0.139 161.6);
Tailwind
colors: {
  custom: {
    50: '#7ccea6',
    500: '#31b882',
    950: '#000000',
  },
}
SCSS
$custom: #31b882;
$custom-light: #7ccea6;
$custom-dark: #000000;
JSON
{
  "hex": "#31b882",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 130
  },
  "hsl": {
    "h": 156,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69808,
    "c": 0.13948,
    "h": 161.6
  },
  "luminance": 0.36546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B882

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

Preview Lab → · Contrast checker → · Palette generator →

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