#31C181#31C181

#31C181 is a light, vivid teal. Relative luminance 0.404; OKLCH L 72.1% C 0.152 H 158.8°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#31C181
RGBrgb(49, 193, 129)
HSLhsl(153, 60%, 47%)
HSVhsv(153, 75%, 76%)
CMYKcmyk(74.6%, 0%, 33.2%, 24.3%)
CIE-LABlab(69.74, -52.22, 21.74)
CIE-LCHlch(69.74, 56.57, 157.40°)
OKLaboklab(72.11% -0.1417 0.0549)
OKLCHoklch(72.11% 0.152 158.8)
XYZxyz(24.2966, 40.3750, 27.2773)
Luminance0.4038 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C181 #C13171
analogous
#31C139 #31C181 #31B9C1
triadic
#31C181 #8131C1 #C18131
tetradic
#31C181 #3931C1 #C13171 #B9C131
square
#31C181 #3931C1 #C13171 #B9C131
split-complementary
#31C181 #C131B9 #C13931
monochromatic
#185F40 #259060 #31C181 #5AD59E #8BE2BB

Accessibility & contrast

On white

2.31
#31C181 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#31C181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C181
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C181#FFFFFF#000000##000000
##31C1811.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB27D
Deuteranopia (green-blind)
#ADA585
Tritanopia (blue-blind)
#00C0B0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #31c181;
/* rgb */ color: rgb(49, 193, 129);
/* oklch */ color: oklch(72.1% 0.152 158.8);
Tailwind
colors: {
  custom: {
    50: '#7ed5a6',
    500: '#31c181',
    950: '#000000',
  },
}
SCSS
$custom: #31c181;
$custom-light: #7ed5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#31c181",
  "rgb": {
    "r": 49,
    "g": 193,
    "b": 129
  },
  "hsl": {
    "h": 153.333,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72108,
    "c": 0.15197,
    "h": 158.8
  },
  "luminance": 0.40378
}

Semantic roles & 50–950 ramp

primary
#31C181
secondary
#CC82A3
accent
#458BE3
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0B140F
muted
#7C837F

Preview Lab

Preview with #31C181

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

Preview Lab → · Contrast checker → · Palette generator →

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