#31B983#31B983

#31B983 is a light, vivid teal. Relative luminance 0.370; OKLCH L 70.1% C 0.140 H 161.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#31B983
RGBrgb(49, 185, 131)
HSLhsl(156, 58%, 46%)
HSVhsv(156, 74%, 73%)
CMYKcmyk(73.5%, 0%, 29.2%, 27.5%)
CIE-LABlab(67.27, -48.65, 17.28)
CIE-LCHlch(67.27, 51.63, 160.44°)
OKLaboklab(70.09% -0.1328 0.0439)
OKLCHoklch(70.09% 0.14 161.7)
XYZxyz(22.7099, 36.9869, 27.4106)
Luminance0.3699 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B983 #B93167
analogous
#31B93F #31B983 #31ABB9
triadic
#31B983 #8331B9 #B98331
tetradic
#31B983 #3F31B9 #B93167 #ABB931
square
#31B983 #3F31B9 #B93167 #ABB931
split-complementary
#31B983 #B931AB #B93F31
monochromatic
#17583E #248961 #31B983 #55D2A0 #86DFBB

Accessibility & contrast

On white

2.50
#31B983 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#31B983 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B983
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B983#FFFFFF#000000##000000
##31B9831.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AB80
Deuteranopia (green-blind)
#A59F87
Tritanopia (blue-blind)
#00B9AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b983;
/* rgb */ color: rgb(49, 185, 131);
/* oklch */ color: oklch(70.1% 0.140 161.7);
Tailwind
colors: {
  custom: {
    50: '#7dcfa7',
    500: '#31b983',
    950: '#000000',
  },
}
SCSS
$custom: #31b983;
$custom-light: #7dcfa7;
$custom-dark: #000000;
JSON
{
  "hex": "#31b983",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 131
  },
  "hsl": {
    "h": 156.176,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7009,
    "c": 0.13992,
    "h": 161.7
  },
  "luminance": 0.3699
}

Semantic roles & 50–950 ramp

primary
#31B983
secondary
#C87D9B
accent
#4684E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B140F
muted
#7C827F

Preview Lab

Preview with #31B983

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

Preview Lab → · Contrast checker → · Palette generator →

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