#31B984#31B984

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

Color values

HEX#31B984
RGBrgb(49, 185, 132)
HSLhsl(157, 58%, 46%)
HSVhsv(157, 74%, 73%)
CMYKcmyk(73.5%, 0%, 28.6%, 27.5%)
CIE-LABlab(67.29, -48.43, 16.77)
CIE-LCHlch(67.29, 51.25, 160.90°)
OKLaboklab(70.11% -0.1324 0.0427)
OKLCHoklch(70.11% 0.139 162.1)
XYZxyz(22.7780, 37.0142, 27.7693)
Luminance0.3702 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B984 #B93166
analogous
#31B940 #31B984 #31AAB9
triadic
#31B984 #8431B9 #B98431
tetradic
#31B984 #4031B9 #B93166 #AAB931
square
#31B984 #4031B9 #B93166 #AAB931
split-complementary
#31B984 #B931AA #B94031
monochromatic
#17583F #248961 #31B984 #55D2A1 #86DFBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B984#FFFFFF#000000##000000
##31B9841.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)
#B6AB81
Deuteranopia (green-blind)
#A59F87
Tritanopia (blue-blind)
#00B9AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b984;
/* rgb */ color: rgb(49, 185, 132);
/* oklch */ color: oklch(70.1% 0.139 162.1);
Tailwind
colors: {
  custom: {
    50: '#7dcfa8',
    500: '#31b984',
    950: '#000000',
  },
}
SCSS
$custom: #31b984;
$custom-light: #7dcfa8;
$custom-dark: #000000;
JSON
{
  "hex": "#31b984",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 132
  },
  "hsl": {
    "h": 156.618,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70114,
    "c": 0.13907,
    "h": 162.1
  },
  "luminance": 0.37017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B984

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

Preview Lab → · Contrast checker → · Palette generator →

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