#31B985#31B985

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

Color values

HEX#31B985
RGBrgb(49, 185, 133)
HSLhsl(157, 58%, 46%)
HSVhsv(157, 74%, 73%)
CMYKcmyk(73.5%, 0%, 28.1%, 27.5%)
CIE-LABlab(67.31, -48.20, 16.25)
CIE-LCHlch(67.31, 50.87, 161.37°)
OKLaboklab(70.14% -0.1319 0.0414)
OKLCHoklch(70.14% 0.138 162.6)
XYZxyz(22.8468, 37.0417, 28.1314)
Luminance0.3704 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B985 #B93165
analogous
#31B941 #31B985 #31A9B9
triadic
#31B985 #8531B9 #B98531
tetradic
#31B985 #4131B9 #B93165 #A9B931
square
#31B985 #4131B9 #B93165 #A9B931
split-complementary
#31B985 #B931A9 #B94131
monochromatic
#17583F #248962 #31B985 #55D2A2 #86DFBD

Accessibility & contrast

On white

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

On black

8.41
#31B985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B985
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B985#FFFFFF#000000##000000
##31B9851.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AB82
Deuteranopia (green-blind)
#A59F88
Tritanopia (blue-blind)
#00B9AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b985;
/* rgb */ color: rgb(49, 185, 133);
/* oklch */ color: oklch(70.1% 0.138 162.6);
Tailwind
colors: {
  custom: {
    50: '#7dcfa8',
    500: '#31b985',
    950: '#000000',
  },
}
SCSS
$custom: #31b985;
$custom-light: #7dcfa8;
$custom-dark: #000000;
JSON
{
  "hex": "#31b985",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 133
  },
  "hsl": {
    "h": 157.059,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70137,
    "c": 0.13823,
    "h": 162.6
  },
  "luminance": 0.37044
}

Semantic roles & 50–950 ramp

primary
#31B985
secondary
#C87D9A
accent
#4682E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B140F
muted
#7C827F

Preview Lab

Preview with #31B985

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

Preview Lab → · Contrast checker → · Palette generator →

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