#31B88C#31B88C

#31B88C is a light, vivid teal. Relative luminance 0.368; OKLCH L 70.1% C 0.131 H 166.2°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#31B88C
RGBrgb(49, 184, 140)
HSLhsl(160, 58%, 46%)
HSVhsv(160, 73%, 72%)
CMYKcmyk(73.4%, 0%, 23.9%, 27.8%)
CIE-LABlab(67.15, -46.18, 12.22)
CIE-LCHlch(67.15, 47.77, 165.18°)
OKLaboklab(70.05% -0.1275 0.0312)
OKLCHoklch(70.05% 0.131 166.2)
XYZxyz(23.1381, 36.8247, 30.6943)
Luminance0.3683 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B88C #B8315D
analogous
#31B848 #31B88C #31A1B8
triadic
#31B88C #8C31B8 #B88C31
tetradic
#31B88C #4831B8 #B8315D #A1B831
square
#31B88C #4831B8 #B8315D #A1B831
split-complementary
#31B88C #B831A1 #B84831
monochromatic
#175742 #248867 #31B88C #55D2A9 #85DEC1

Accessibility & contrast

On white

2.51
#31B88C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#31B88C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B88C
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B88C#FFFFFF#000000##000000
##31B88C1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4AB8A
Deuteranopia (green-blind)
#A39E8F
Tritanopia (blue-blind)
#00B9AC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b88c;
/* rgb */ color: rgb(49, 184, 140);
/* oklch */ color: oklch(70.1% 0.131 166.2);
Tailwind
colors: {
  custom: {
    50: '#7dcead',
    500: '#31b88c',
    950: '#000000',
  },
}
SCSS
$custom: #31b88c;
$custom-light: #7dcead;
$custom-dark: #000000;
JSON
{
  "hex": "#31b88c",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 140
  },
  "hsl": {
    "h": 160.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70053,
    "c": 0.13131,
    "h": 166.2
  },
  "luminance": 0.36827
}

Semantic roles & 50–950 ramp

primary
#31B88C
secondary
#C87D95
accent
#4779E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1410
muted
#7C827F

Preview Lab

Preview with #31B88C

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

Preview Lab → · Contrast checker → · Palette generator →

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