#31B57C#31B57C

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

Color values

HEX#31B57C
RGBrgb(49, 181, 124)
HSLhsl(154, 57%, 45%)
HSVhsv(154, 73%, 71%)
CMYKcmyk(72.9%, 0%, 31.5%, 29%)
CIE-LABlab(65.87, -48.58, 19.14)
CIE-LCHlch(65.87, 52.21, 158.49°)
OKLaboklab(68.89% -0.1322 0.0485)
OKLCHoklch(68.89% 0.141 159.9)
XYZxyz(21.4264, 35.1535, 24.7209)
Luminance0.3516 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B57C #B5316A
analogous
#31B53A #31B57C #31ACB5
triadic
#31B57C #7C31B5 #B57C31
tetradic
#31B57C #3A31B5 #B5316A #ACB531
square
#31B57C #3A31B5 #B5316A #ACB531
split-complementary
#31B57C #B531AC #B53A31
monochromatic
#17553A #24855B #31B57C #53D09A #83DDB6

Accessibility & contrast

On white

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

On black

8.03
#31B57C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B57C
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B57C#FFFFFF#000000##000000
##31B57C1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b57c;
/* rgb */ color: rgb(49, 181, 124);
/* oklch */ color: oklch(68.9% 0.141 159.9);
Tailwind
colors: {
  custom: {
    50: '#7ccca2',
    500: '#31b57c',
    950: '#000000',
  },
}
SCSS
$custom: #31b57c;
$custom-light: #7ccca2;
$custom-dark: #000000;
JSON
{
  "hex": "#31b57c",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 124
  },
  "hsl": {
    "h": 154.091,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68893,
    "c": 0.14078,
    "h": 159.9
  },
  "luminance": 0.35156
}

Semantic roles & 50–950 ramp

primary
#31B57C
secondary
#C77B9C
accent
#4789E1
background
#F8FCFA
surface
#EFF9F3
border
#CAD2CD
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B57C

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

Preview Lab → · Contrast checker → · Palette generator →

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