#31B37F#31B37F

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

Color values

HEX#31B37F
RGBrgb(49, 179, 127)
HSLhsl(156, 57%, 45%)
HSVhsv(156, 73%, 70%)
CMYKcmyk(72.6%, 0%, 29.1%, 29.8%)
CIE-LABlab(65.30, -47.12, 16.73)
CIE-LCHlch(65.30, 50.00, 160.46°)
OKLaboklab(68.44% -0.1287 0.0425)
OKLCHoklch(68.44% 0.136 161.7)
XYZxyz(21.2153, 34.4230, 25.6008)
Luminance0.3443 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B37F #B33165
analogous
#31B33E #31B37F #31A6B3
triadic
#31B37F #7F31B3 #B37F31
tetradic
#31B37F #3E31B3 #B33165 #A6B331
square
#31B37F #3E31B3 #B33165 #A6B331
split-complementary
#31B37F #B331A6 #B33E31
monochromatic
#17533B #24835D #31B37F #52D09D #82DDB8

Accessibility & contrast

On white

2.66
#31B37F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#31B37F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B37F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B37F#FFFFFF#000000##000000
##31B37F1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A67C
Deuteranopia (green-blind)
#A09A82
Tritanopia (blue-blind)
#00B3A5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b37f;
/* rgb */ color: rgb(49, 179, 127);
/* oklch */ color: oklch(68.4% 0.136 161.7);
Tailwind
colors: {
  custom: {
    50: '#7bcba4',
    500: '#31b37f',
    950: '#000000',
  },
}
SCSS
$custom: #31b37f;
$custom-light: #7bcba4;
$custom-dark: #000000;
JSON
{
  "hex": "#31b37f",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 127
  },
  "hsl": {
    "h": 156,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68444,
    "c": 0.13556,
    "h": 161.7
  },
  "luminance": 0.34425
}

Semantic roles & 50–950 ramp

primary
#31B37F
secondary
#C67A98
accent
#4885E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B37F

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

Preview Lab → · Contrast checker → · Palette generator →

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