#31B97C#31B97C

#31B97C is a light, vivid teal. Relative luminance 0.368; OKLCH L 69.9% C 0.146 H 158.8°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#31B97C
RGBrgb(49, 185, 124)
HSLhsl(153, 58%, 46%)
HSVhsv(153, 74%, 73%)
CMYKcmyk(73.5%, 0%, 33%, 27.5%)
CIE-LABlab(67.13, -50.16, 20.86)
CIE-LCHlch(67.13, 54.32, 157.41°)
OKLaboklab(69.93% -0.1362 0.0527)
OKLCHoklch(69.93% 0.146 158.8)
XYZxyz(22.2514, 36.8035, 24.9960)
Luminance0.3681 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B97C #B9316E
analogous
#31B938 #31B97C #31B2B9
triadic
#31B97C #7C31B9 #B97C31
tetradic
#31B97C #3831B9 #B9316E #B2B931
square
#31B97C #3831B9 #B9316E #B2B931
split-complementary
#31B97C #B931B2 #B93831
monochromatic
#17583B #24895C #31B97C #55D29A #86DFB7

Accessibility & contrast

On white

2.51
#31B97C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#31B97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B97C
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B97C#FFFFFF#000000##000000
##31B97C1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AB78
Deuteranopia (green-blind)
#A69F80
Tritanopia (blue-blind)
#00B8A9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b97c;
/* rgb */ color: rgb(49, 185, 124);
/* oklch */ color: oklch(69.9% 0.146 158.8);
Tailwind
colors: {
  custom: {
    50: '#7dcfa2',
    500: '#31b97c',
    950: '#000000',
  },
}
SCSS
$custom: #31b97c;
$custom-light: #7dcfa2;
$custom-dark: #000000;
JSON
{
  "hex": "#31b97c",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 124
  },
  "hsl": {
    "h": 153.088,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69931,
    "c": 0.14602,
    "h": 158.8
  },
  "luminance": 0.36806
}

Semantic roles & 50–950 ramp

primary
#31B97C
secondary
#C87D9F
accent
#468CE1
background
#F8FCFA
surface
#EFF9F3
border
#CAD2CD
text
#0B140F
muted
#7C827F

Preview Lab

Preview with #31B97C

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

Preview Lab → · Contrast checker → · Palette generator →

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