#31B386#31B386

#31B386 is a light, vivid teal. Relative luminance 0.346; OKLCH L 68.6% C 0.130 H 165.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#31B386
RGBrgb(49, 179, 134)
HSLhsl(159, 57%, 45%)
HSVhsv(159, 73%, 70%)
CMYKcmyk(72.6%, 0%, 25.1%, 29.8%)
CIE-LABlab(65.45, -45.52, 13.11)
CIE-LCHlch(65.45, 47.37, 163.94°)
OKLaboklab(68.62% -0.1254 0.0335)
OKLCHoklch(68.62% 0.13 165)
XYZxyz(21.6874, 34.6119, 28.0874)
Luminance0.3461 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B386 #B3315E
analogous
#31B345 #31B386 #319FB3
triadic
#31B386 #8631B3 #B38631
tetradic
#31B386 #4531B3 #B3315E #9FB331
square
#31B386 #4531B3 #B3315E #9FB331
split-complementary
#31B386 #B3319F #B34531
monochromatic
#17533E #248362 #31B386 #52D0A4 #82DDBD

Accessibility & contrast

On white

2.65
#31B386 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#31B386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B386
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B386#FFFFFF#000000##000000
##31B3861.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA684
Deuteranopia (green-blind)
#9F9A89
Tritanopia (blue-blind)
#00B3A7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b386;
/* rgb */ color: rgb(49, 179, 134);
/* oklch */ color: oklch(68.6% 0.130 165.0);
Tailwind
colors: {
  custom: {
    50: '#7ccaa9',
    500: '#31b386',
    950: '#000000',
  },
}
SCSS
$custom: #31b386;
$custom-light: #7ccaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#31b386",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 134
  },
  "hsl": {
    "h": 159.231,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68615,
    "c": 0.12975,
    "h": 165
  },
  "luminance": 0.34614
}

Semantic roles & 50–950 ramp

primary
#31B386
secondary
#C67A94
accent
#487CE0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B386

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

Preview Lab → · Contrast checker → · Palette generator →

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