#31B57E#31B57E

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

Color values

HEX#31B57E
RGBrgb(49, 181, 126)
HSLhsl(155, 57%, 45%)
HSVhsv(155, 73%, 71%)
CMYKcmyk(72.9%, 0%, 30.4%, 29%)
CIE-LABlab(65.91, -48.14, 18.11)
CIE-LCHlch(65.91, 51.44, 159.38°)
OKLaboklab(68.94% -0.1312 0.046)
OKLCHoklch(68.94% 0.139 160.7)
XYZxyz(21.5542, 35.2046, 25.3938)
Luminance0.3521 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B57E #B53168
analogous
#31B53C #31B57E #31AAB5
triadic
#31B57E #7E31B5 #B57E31
tetradic
#31B57E #3C31B5 #B53168 #AAB531
square
#31B57E #3C31B5 #B53168 #AAB531
split-complementary
#31B57E #B531AA #B53C31
monochromatic
#17553B #24855C #31B57E #53D09C #83DDB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B57E#FFFFFF#000000##000000
##31B57E1.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)
#B3A77B
Deuteranopia (green-blind)
#A29B82
Tritanopia (blue-blind)
#00B4A6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b57e;
/* rgb */ color: rgb(49, 181, 126);
/* oklch */ color: oklch(68.9% 0.139 160.7);
Tailwind
colors: {
  custom: {
    50: '#7ccca3',
    500: '#31b57e',
    950: '#000000',
  },
}
SCSS
$custom: #31b57e;
$custom-light: #7ccca3;
$custom-dark: #000000;
JSON
{
  "hex": "#31b57e",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 126
  },
  "hsl": {
    "h": 155,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68939,
    "c": 0.13904,
    "h": 160.7
  },
  "luminance": 0.35207
}

Semantic roles & 50–950 ramp

primary
#31B57E
secondary
#C77B9B
accent
#4787E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B57E

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

Preview Lab → · Contrast checker → · Palette generator →

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