#31B78A#31B78A

#31B78A is a light, vivid teal. Relative luminance 0.364; OKLCH L 69.7% C 0.132 H 165.6°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#31B78A
RGBrgb(49, 183, 138)
HSLhsl(160, 58%, 45%)
HSVhsv(160, 73%, 72%)
CMYKcmyk(73.2%, 0%, 24.6%, 28.2%)
CIE-LABlab(66.79, -46.24, 12.81)
CIE-LCHlch(66.79, 47.98, 164.52°)
OKLaboklab(69.75% -0.1275 0.0327)
OKLCHoklch(69.75% 0.132 165.6)
XYZxyz(22.7850, 36.3522, 29.8557)
Luminance0.3635 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B78A #B7315E
analogous
#31B747 #31B78A #31A1B7
triadic
#31B78A #8A31B7 #B78A31
tetradic
#31B78A #4731B7 #B7315E #A1B731
square
#31B78A #4731B7 #B7315E #A1B731
split-complementary
#31B78A #B731A1 #B74731
monochromatic
#175641 #248766 #31B78A #54D1A7 #84DEC0

Accessibility & contrast

On white

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

On black

8.27
#31B78A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B78A
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B78A#FFFFFF#000000##000000
##31B78A1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3AA88
Deuteranopia (green-blind)
#A29D8D
Tritanopia (blue-blind)
#00B7AB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b78a;
/* rgb */ color: rgb(49, 183, 138);
/* oklch */ color: oklch(69.7% 0.132 165.6);
Tailwind
colors: {
  custom: {
    50: '#7ccdac',
    500: '#31b78a',
    950: '#000000',
  },
}
SCSS
$custom: #31b78a;
$custom-light: #7ccdac;
$custom-dark: #000000;
JSON
{
  "hex": "#31b78a",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 138
  },
  "hsl": {
    "h": 159.851,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69745,
    "c": 0.13162,
    "h": 165.6
  },
  "luminance": 0.36355
}

Semantic roles & 50–950 ramp

primary
#31B78A
secondary
#C87C96
accent
#477BE1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1410
muted
#7C827F

Preview Lab

Preview with #31B78A

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

Preview Lab → · Contrast checker → · Palette generator →

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