#31B181#31B181

#31B181 is a light, vivid teal. Relative luminance 0.337; OKLCH L 68.0% C 0.131 H 163.3°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#31B181
RGBrgb(49, 177, 129)
HSLhsl(158, 57%, 44%)
HSVhsv(158, 72%, 69%)
CMYKcmyk(72.3%, 0%, 27.1%, 30.6%)
CIE-LABlab(64.71, -45.85, 14.81)
CIE-LCHlch(64.71, 48.19, 162.09°)
OKLaboklab(67.97% -0.1257 0.0378)
OKLCHoklch(67.97% 0.131 163.3)
XYZxyz(20.9490, 33.6798, 26.1614)
Luminance0.3368 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B181 #B13161
analogous
#31B141 #31B181 #31A1B1
triadic
#31B181 #8131B1 #B18131
tetradic
#31B181 #4131B1 #B13161 #A1B131
square
#31B181 #4131B1 #B13161 #A1B131
split-complementary
#31B181 #B131A1 #B14131
monochromatic
#16513B #24815E #31B181 #51CF9F #80DCBA

Accessibility & contrast

On white

2.71
#31B181 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#31B181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B181
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B181#FFFFFF#000000##000000
##31B1811.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA47E
Deuteranopia (green-blind)
#9E9884
Tritanopia (blue-blind)
#00B1A4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b181;
/* rgb */ color: rgb(49, 177, 129);
/* oklch */ color: oklch(68.0% 0.131 163.3);
Tailwind
colors: {
  custom: {
    50: '#7bc9a5',
    500: '#31b181',
    950: '#000000',
  },
}
SCSS
$custom: #31b181;
$custom-light: #7bc9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#31b181",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 129
  },
  "hsl": {
    "h": 157.5,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67973,
    "c": 0.13128,
    "h": 163.3
  },
  "luminance": 0.33682
}

Semantic roles & 50–950 ramp

primary
#31B181
secondary
#C57995
accent
#4881E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B181

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

Preview Lab → · Contrast checker → · Palette generator →

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