#31B37D#31B37D

#31B37D is a light, vivid teal. Relative luminance 0.344; OKLCH L 68.4% C 0.137 H 160.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#31B37D
RGBrgb(49, 179, 125)
HSLhsl(155, 57%, 45%)
HSVhsv(155, 73%, 70%)
CMYKcmyk(72.6%, 0%, 30.2%, 29.8%)
CIE-LABlab(65.26, -47.56, 17.76)
CIE-LCHlch(65.26, 50.77, 159.52°)
OKLaboklab(68.4% -0.1297 0.0451)
OKLCHoklch(68.4% 0.137 160.8)
XYZxyz(21.0862, 34.3714, 24.9211)
Luminance0.3437 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B37D #B33167
analogous
#31B33C #31B37D #31A8B3
triadic
#31B37D #7D31B3 #B37D31
tetradic
#31B37D #3C31B3 #B33167 #A8B331
square
#31B37D #3C31B3 #B33167 #A8B331
split-complementary
#31B37D #B331A8 #B33C31
monochromatic
#17533A #24835B #31B37D #52D09B #82DDB7

Accessibility & contrast

On white

2.67
#31B37D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#31B37D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B37D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B37D#FFFFFF#000000##000000
##31B37D1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A57A
Deuteranopia (green-blind)
#A09A81
Tritanopia (blue-blind)
#00B2A5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b37d;
/* rgb */ color: rgb(49, 179, 125);
/* oklch */ color: oklch(68.4% 0.137 160.8);
Tailwind
colors: {
  custom: {
    50: '#7bcba3',
    500: '#31b37d',
    950: '#000000',
  },
}
SCSS
$custom: #31b37d;
$custom-light: #7bcba3;
$custom-dark: #000000;
JSON
{
  "hex": "#31b37d",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 125
  },
  "hsl": {
    "h": 155.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68397,
    "c": 0.13729,
    "h": 160.8
  },
  "luminance": 0.34374
}

Semantic roles & 50–950 ramp

primary
#31B37D
secondary
#C67A99
accent
#4887E0
background
#F8FCFA
surface
#EFF9F3
border
#CAD2CD
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B37D

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

Preview Lab → · Contrast checker → · Palette generator →

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