#31B373#31B373

#31B373 is a light, vivid teal. Relative luminance 0.341; OKLCH L 68.2% C 0.146 H 156.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#31B373
RGBrgb(49, 179, 115)
HSLhsl(150, 57%, 45%)
HSVhsv(150, 73%, 70%)
CMYKcmyk(72.6%, 0%, 35.8%, 29.8%)
CIE-LABlab(65.06, -49.66, 22.90)
CIE-LCHlch(65.06, 54.69, 155.25°)
OKLaboklab(68.18% -0.1344 0.0576)
OKLCHoklch(68.18% 0.146 156.8)
XYZxyz(20.4793, 34.1286, 21.7245)
Luminance0.3413 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B373 #B33171
analogous
#31B332 #31B373 #31B2B3
triadic
#31B373 #7331B3 #B37331
tetradic
#31B373 #3231B3 #B33171 #B2B331
square
#31B373 #3231B3 #B33171 #B2B331
split-complementary
#31B373 #B331B2 #B33231
monochromatic
#175335 #248354 #31B373 #52D092 #82DDB0

Accessibility & contrast

On white

2.68
#31B373 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#31B373 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B373
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B373#FFFFFF#000000##000000
##31B3731.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A56F
Deuteranopia (green-blind)
#A29977
Tritanopia (blue-blind)
#00B2A3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b373;
/* rgb */ color: rgb(49, 179, 115);
/* oklch */ color: oklch(68.2% 0.146 156.8);
Tailwind
colors: {
  custom: {
    50: '#7bcb9b',
    500: '#31b373',
    950: '#000000',
  },
}
SCSS
$custom: #31b373;
$custom-light: #7bcb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b373",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 115
  },
  "hsl": {
    "h": 150.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68176,
    "c": 0.14623,
    "h": 156.8
  },
  "luminance": 0.34131
}

Semantic roles & 50–950 ramp

primary
#31B373
secondary
#C67A9F
accent
#4893E0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B373

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

Preview Lab → · Contrast checker → · Palette generator →

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