#31B57F#31B57F

#31B57F is a light, vivid teal. Relative luminance 0.352; OKLCH L 69.0% C 0.138 H 161.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#31B57F
RGBrgb(49, 181, 127)
HSLhsl(155, 57%, 45%)
HSVhsv(155, 73%, 71%)
CMYKcmyk(72.9%, 0%, 29.8%, 29%)
CIE-LABlab(65.93, -47.92, 17.60)
CIE-LCHlch(65.93, 51.05, 159.84°)
OKLaboklab(68.96% -0.1307 0.0447)
OKLCHoklch(68.96% 0.138 161.1)
XYZxyz(21.6190, 35.2305, 25.7353)
Luminance0.3523 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B57F #B53167
analogous
#31B53D #31B57F #31A9B5
triadic
#31B57F #7F31B5 #B57F31
tetradic
#31B57F #3D31B5 #B53167 #A9B531
square
#31B57F #3D31B5 #B53167 #A9B531
split-complementary
#31B57F #B531A9 #B53D31
monochromatic
#17553B #24855D #31B57F #53D09D #83DDB8

Accessibility & contrast

On white

2.61
#31B57F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#31B57F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B57F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B57F#FFFFFF#000000##000000
##31B57F1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A77C
Deuteranopia (green-blind)
#A29B83
Tritanopia (blue-blind)
#00B4A7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b57f;
/* rgb */ color: rgb(49, 181, 127);
/* oklch */ color: oklch(69.0% 0.138 161.1);
Tailwind
colors: {
  custom: {
    50: '#7ccca4',
    500: '#31b57f',
    950: '#000000',
  },
}
SCSS
$custom: #31b57f;
$custom-light: #7ccca4;
$custom-dark: #000000;
JSON
{
  "hex": "#31b57f",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 127
  },
  "hsl": {
    "h": 155.455,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68962,
    "c": 0.13817,
    "h": 161.1
  },
  "luminance": 0.35233
}

Semantic roles & 50–950 ramp

primary
#31B57F
secondary
#C77B9A
accent
#4786E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B57F

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

Preview Lab → · Contrast checker → · Palette generator →

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