#31B78E#31B78E

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

Color values

HEX#31B78E
RGBrgb(49, 183, 142)
HSLhsl(162, 58%, 45%)
HSVhsv(162, 73%, 72%)
CMYKcmyk(73.2%, 0%, 22.4%, 28.2%)
CIE-LABlab(66.88, -45.29, 10.74)
CIE-LCHlch(66.88, 46.55, 166.66°)
OKLaboklab(69.85% -0.1256 0.0275)
OKLCHoklch(69.85% 0.129 167.7)
XYZxyz(23.0799, 36.4702, 31.4090)
Luminance0.3647 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B78E #B7315A
analogous
#31B74B #31B78E #319DB7
triadic
#31B78E #8E31B7 #B78E31
tetradic
#31B78E #4B31B7 #B7315A #9DB731
square
#31B78E #4B31B7 #B7315A #9DB731
split-complementary
#31B78E #B7319D #B74B31
monochromatic
#175643 #248769 #31B78E #54D1AB #84DEC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B78E#FFFFFF#000000##000000
##31B78E1.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)
#B2AA8C
Deuteranopia (green-blind)
#A19E91
Tritanopia (blue-blind)
#00B8AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b78e;
/* rgb */ color: rgb(49, 183, 142);
/* oklch */ color: oklch(69.8% 0.129 167.7);
Tailwind
colors: {
  custom: {
    50: '#7dcdaf',
    500: '#31b78e',
    950: '#000000',
  },
}
SCSS
$custom: #31b78e;
$custom-light: #7dcdaf;
$custom-dark: #000000;
JSON
{
  "hex": "#31b78e",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 142
  },
  "hsl": {
    "h": 161.642,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69848,
    "c": 0.12855,
    "h": 167.7
  },
  "luminance": 0.36473
}

Semantic roles & 50–950 ramp

primary
#31B78E
secondary
#C87C93
accent
#4776E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1410
muted
#7C827F

Preview Lab

Preview with #31B78E

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

Preview Lab → · Contrast checker → · Palette generator →

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