#31B57D#31B57D

#31B57D is a light, vivid teal. Relative luminance 0.352; OKLCH L 68.9% C 0.140 H 160.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#31B57D
RGBrgb(49, 181, 125)
HSLhsl(155, 57%, 45%)
HSVhsv(155, 73%, 71%)
CMYKcmyk(72.9%, 0%, 30.9%, 29%)
CIE-LABlab(65.89, -48.36, 18.63)
CIE-LCHlch(65.89, 51.82, 158.94°)
OKLaboklab(68.92% -0.1317 0.0472)
OKLCHoklch(68.92% 0.14 160.3)
XYZxyz(21.4900, 35.1789, 25.0557)
Luminance0.3518 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B57D #B53169
analogous
#31B53B #31B57D #31ABB5
triadic
#31B57D #7D31B5 #B57D31
tetradic
#31B57D #3B31B5 #B53169 #ABB531
square
#31B57D #3B31B5 #B53169 #ABB531
split-complementary
#31B57D #B531AB #B53B31
monochromatic
#17553A #24855C #31B57D #53D09B #83DDB7

Accessibility & contrast

On white

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

On black

8.04
#31B57D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B57D
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B57D#FFFFFF#000000##000000
##31B57D1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A77A
Deuteranopia (green-blind)
#A29B81
Tritanopia (blue-blind)
#00B4A6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b57d;
/* rgb */ color: rgb(49, 181, 125);
/* oklch */ color: oklch(68.9% 0.140 160.3);
Tailwind
colors: {
  custom: {
    50: '#7ccca3',
    500: '#31b57d',
    950: '#000000',
  },
}
SCSS
$custom: #31b57d;
$custom-light: #7ccca3;
$custom-dark: #000000;
JSON
{
  "hex": "#31b57d",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 125
  },
  "hsl": {
    "h": 154.545,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68916,
    "c": 0.1399,
    "h": 160.3
  },
  "luminance": 0.35181
}

Semantic roles & 50–950 ramp

primary
#31B57D
secondary
#C77B9B
accent
#4788E1
background
#F8FCFA
surface
#EFF9F3
border
#CAD2CD
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B57D

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

Preview Lab → · Contrast checker → · Palette generator →

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