#31B78C#31B78C

#31B78C is a light, vivid teal. Relative luminance 0.364; OKLCH L 69.8% C 0.130 H 166.6°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#31B78C
RGBrgb(49, 183, 140)
HSLhsl(161, 58%, 45%)
HSVhsv(161, 73%, 72%)
CMYKcmyk(73.2%, 0%, 23.5%, 28.2%)
CIE-LABlab(66.83, -45.77, 11.77)
CIE-LCHlch(66.83, 47.26, 165.57°)
OKLaboklab(69.8% -0.1265 0.0301)
OKLCHoklch(69.8% 0.13 166.6)
XYZxyz(22.9311, 36.4107, 30.6253)
Luminance0.3641 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B78C #B7315C
analogous
#31B749 #31B78C #319FB7
triadic
#31B78C #8C31B7 #B78C31
tetradic
#31B78C #4931B7 #B7315C #9FB731
square
#31B78C #4931B7 #B7315C #9FB731
split-complementary
#31B78C #B7319F #B74931
monochromatic
#175642 #248767 #31B78C #54D1A9 #84DEC1

Accessibility & contrast

On white

2.54
#31B78C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#31B78C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B78C
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B78C#FFFFFF#000000##000000
##31B78C1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3AA8A
Deuteranopia (green-blind)
#A29D8F
Tritanopia (blue-blind)
#00B8AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b78c;
/* rgb */ color: rgb(49, 183, 140);
/* oklch */ color: oklch(69.8% 0.130 166.6);
Tailwind
colors: {
  custom: {
    50: '#7ccdad',
    500: '#31b78c',
    950: '#000000',
  },
}
SCSS
$custom: #31b78c;
$custom-light: #7ccdad;
$custom-dark: #000000;
JSON
{
  "hex": "#31b78c",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 140
  },
  "hsl": {
    "h": 160.746,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69797,
    "c": 0.13007,
    "h": 166.6
  },
  "luminance": 0.36413
}

Semantic roles & 50–950 ramp

primary
#31B78C
secondary
#C87C94
accent
#4778E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1410
muted
#7C827F

Preview Lab

Preview with #31B78C

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

Preview Lab → · Contrast checker → · Palette generator →

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