#31C17F#31C17F

#31C17F is a light, vivid teal. Relative luminance 0.403; OKLCH L 72.1% C 0.154 H 158.1°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#31C17F
RGBrgb(49, 193, 127)
HSLhsl(153, 60%, 47%)
HSVhsv(153, 75%, 76%)
CMYKcmyk(74.6%, 0%, 34.2%, 24.3%)
CIE-LABlab(69.70, -52.64, 22.75)
CIE-LCHlch(69.70, 57.35, 156.62°)
OKLaboklab(72.07% -0.1426 0.0574)
OKLCHoklch(72.07% 0.154 158.1)
XYZxyz(24.1649, 40.3223, 26.5840)
Luminance0.4032 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C17F #C13173
analogous
#31C137 #31C17F #31BBC1
triadic
#31C17F #7F31C1 #C17F31
tetradic
#31C17F #3731C1 #C13173 #BBC131
square
#31C17F #3731C1 #C13173 #BBC131
split-complementary
#31C17F #C131BB #C13731
monochromatic
#185F3F #25905F #31C17F #5AD59D #8BE2BA

Accessibility & contrast

On white

2.32
#31C17F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#31C17F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C17F
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C17F#FFFFFF#000000##000000
##31C17F1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31c17f;
/* rgb */ color: rgb(49, 193, 127);
/* oklch */ color: oklch(72.1% 0.154 158.1);
Tailwind
colors: {
  custom: {
    50: '#7ed5a4',
    500: '#31c17f',
    950: '#000000',
  },
}
SCSS
$custom: #31c17f;
$custom-light: #7ed5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#31c17f",
  "rgb": {
    "r": 49,
    "g": 193,
    "b": 127
  },
  "hsl": {
    "h": 152.5,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72065,
    "c": 0.15375,
    "h": 158.1
  },
  "luminance": 0.40325
}

Semantic roles & 50–950 ramp

primary
#31C17F
secondary
#CC82A4
accent
#458DE3
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0B140F
muted
#7C837F

Preview Lab

Preview with #31C17F

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

Preview Lab → · Contrast checker → · Palette generator →

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