#31B786#31B786

#31B786 is a light, vivid teal. Relative luminance 0.362; OKLCH L 69.6% C 0.135 H 163.7°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#31B786
RGBrgb(49, 183, 134)
HSLhsl(158, 58%, 45%)
HSVhsv(158, 73%, 72%)
CMYKcmyk(73.2%, 0%, 26.8%, 28.2%)
CIE-LABlab(66.70, -47.17, 14.87)
CIE-LCHlch(66.70, 49.45, 162.51°)
OKLaboklab(69.65% -0.1294 0.0379)
OKLCHoklch(69.65% 0.135 163.7)
XYZxyz(22.5007, 36.2385, 28.3585)
Luminance0.3624 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B786 #B73162
analogous
#31B743 #31B786 #31A5B7
triadic
#31B786 #8631B7 #B78631
tetradic
#31B786 #4331B7 #B73162 #A5B731
square
#31B786 #4331B7 #B73162 #A5B731
split-complementary
#31B786 #B731A5 #B74331
monochromatic
#17563F #248763 #31B786 #54D1A3 #84DEBD

Accessibility & contrast

On white

2.55
#31B786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#31B786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B786
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B786#FFFFFF#000000##000000
##31B7861.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4AA83
Deuteranopia (green-blind)
#A39D89
Tritanopia (blue-blind)
#00B7AA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b786;
/* rgb */ color: rgb(49, 183, 134);
/* oklch */ color: oklch(69.6% 0.135 163.7);
Tailwind
colors: {
  custom: {
    50: '#7ccda9',
    500: '#31b786',
    950: '#000000',
  },
}
SCSS
$custom: #31b786;
$custom-light: #7ccda9;
$custom-dark: #000000;
JSON
{
  "hex": "#31b786",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 134
  },
  "hsl": {
    "h": 158.06,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69646,
    "c": 0.13485,
    "h": 163.7
  },
  "luminance": 0.36241
}

Semantic roles & 50–950 ramp

primary
#31B786
secondary
#C87C98
accent
#477FE1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1410
muted
#7C827F

Preview Lab

Preview with #31B786

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

Preview Lab → · Contrast checker → · Palette generator →

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