#31B78B#31B78B

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

Color values

HEX#31B78B
RGBrgb(49, 183, 139)
HSLhsl(160, 58%, 45%)
HSVhsv(160, 73%, 72%)
CMYKcmyk(73.2%, 0%, 24%, 28.2%)
CIE-LABlab(66.81, -46.01, 12.29)
CIE-LCHlch(66.81, 47.62, 165.04°)
OKLaboklab(69.77% -0.127 0.0314)
OKLCHoklch(69.77% 0.131 166.1)
XYZxyz(22.8577, 36.3813, 30.2387)
Luminance0.3638 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B78B #B7315D
analogous
#31B748 #31B78B #31A0B7
triadic
#31B78B #8B31B7 #B78B31
tetradic
#31B78B #4831B7 #B7315D #A0B731
square
#31B78B #4831B7 #B7315D #A0B731
split-complementary
#31B78B #B731A0 #B74831
monochromatic
#175642 #248766 #31B78B #54D1A8 #84DEC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B78B#FFFFFF#000000##000000
##31B78B1.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)
#B3AA89
Deuteranopia (green-blind)
#A29D8E
Tritanopia (blue-blind)
#00B8AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b78b;
/* rgb */ color: rgb(49, 183, 139);
/* oklch */ color: oklch(69.8% 0.131 166.1);
Tailwind
colors: {
  custom: {
    50: '#7ccdad',
    500: '#31b78b',
    950: '#000000',
  },
}
SCSS
$custom: #31b78b;
$custom-light: #7ccdad;
$custom-dark: #000000;
JSON
{
  "hex": "#31b78b",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 139
  },
  "hsl": {
    "h": 160.299,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69771,
    "c": 0.13085,
    "h": 166.1
  },
  "luminance": 0.36384
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B78B

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

Preview Lab → · Contrast checker → · Palette generator →

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