#31B178#31B178

#31B178 is a light, vivid teal. Relative luminance 0.335; OKLCH L 67.8% C 0.139 H 159.3°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#31B178
RGBrgb(49, 177, 120)
HSLhsl(153, 57%, 44%)
HSVhsv(153, 72%, 69%)
CMYKcmyk(72.3%, 0%, 32.2%, 30.6%)
CIE-LABlab(64.52, -47.84, 19.47)
CIE-LCHlch(64.52, 51.65, 157.85°)
OKLaboklab(67.76% -0.13 0.0493)
OKLCHoklch(67.76% 0.139 159.3)
XYZxyz(20.3769, 33.4510, 23.1484)
Luminance0.3345 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B178 #B1316A
analogous
#31B138 #31B178 #31AAB1
triadic
#31B178 #7831B1 #B17831
tetradic
#31B178 #3831B1 #B1316A #AAB131
square
#31B178 #3831B1 #B1316A #AAB131
split-complementary
#31B178 #B131AA #B13831
monochromatic
#165137 #248158 #31B178 #51CF97 #80DCB3

Accessibility & contrast

On white

2.73
#31B178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#31B178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B178
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B178#FFFFFF#000000##000000
##31B1781.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA375
Deuteranopia (green-blind)
#9F987C
Tritanopia (blue-blind)
#00B0A2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b178;
/* rgb */ color: rgb(49, 177, 120);
/* oklch */ color: oklch(67.8% 0.139 159.3);
Tailwind
colors: {
  custom: {
    50: '#7bc99f',
    500: '#31b178',
    950: '#000000',
  },
}
SCSS
$custom: #31b178;
$custom-light: #7bc99f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b178",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 120
  },
  "hsl": {
    "h": 153.281,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67762,
    "c": 0.13906,
    "h": 159.3
  },
  "luminance": 0.33453
}

Semantic roles & 50–950 ramp

primary
#31B178
secondary
#C5799B
accent
#488CE0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B178

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

Preview Lab → · Contrast checker → · Palette generator →

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