#31B78D#31B78D

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

Color values

HEX#31B78D
RGBrgb(49, 183, 141)
HSLhsl(161, 58%, 45%)
HSVhsv(161, 73%, 72%)
CMYKcmyk(73.2%, 0%, 23%, 28.2%)
CIE-LABlab(66.86, -45.53, 11.26)
CIE-LCHlch(66.86, 46.90, 166.11°)
OKLaboklab(69.82% -0.1261 0.0288)
OKLCHoklch(69.82% 0.129 167.1)
XYZxyz(23.0052, 36.4403, 31.0154)
Luminance0.3644 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B78D #B7315B
analogous
#31B74A #31B78D #319EB7
triadic
#31B78D #8D31B7 #B78D31
tetradic
#31B78D #4A31B7 #B7315B #9EB731
square
#31B78D #4A31B7 #B7315B #9EB731
split-complementary
#31B78D #B7319E #B74A31
monochromatic
#175643 #248768 #31B78D #54D1AA #84DEC2

Accessibility & contrast

On white

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

On black

8.29
#31B78D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B78D
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B78D#FFFFFF#000000##000000
##31B78D1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b78d;
/* rgb */ color: rgb(49, 183, 141);
/* oklch */ color: oklch(69.8% 0.129 167.1);
Tailwind
colors: {
  custom: {
    50: '#7dcdae',
    500: '#31b78d',
    950: '#000000',
  },
}
SCSS
$custom: #31b78d;
$custom-light: #7dcdae;
$custom-dark: #000000;
JSON
{
  "hex": "#31b78d",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 141
  },
  "hsl": {
    "h": 161.194,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69822,
    "c": 0.1293,
    "h": 167.1
  },
  "luminance": 0.36443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B78D

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

Preview Lab → · Contrast checker → · Palette generator →

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