#31B97F#31B97F

#31B97F is a light, vivid teal. Relative luminance 0.369; OKLCH L 70.0% C 0.143 H 160.0°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#31B97F
RGBrgb(49, 185, 127)
HSLhsl(154, 58%, 46%)
HSVhsv(154, 74%, 73%)
CMYKcmyk(73.5%, 0%, 31.4%, 27.5%)
CIE-LABlab(67.19, -49.52, 19.33)
CIE-LCHlch(67.19, 53.16, 158.68°)
OKLaboklab(70% -0.1347 0.049)
OKLCHoklch(70% 0.143 160)
XYZxyz(22.4440, 36.8806, 26.0104)
Luminance0.3688 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B97F #B9316B
analogous
#31B93B #31B97F #31AFB9
triadic
#31B97F #7F31B9 #B97F31
tetradic
#31B97F #3B31B9 #B9316B #AFB931
square
#31B97F #3B31B9 #B9316B #AFB931
split-complementary
#31B97F #B931AF #B93B31
monochromatic
#17583D #24895E #31B97F #55D29D #86DFB9

Accessibility & contrast

On white

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

On black

8.38
#31B97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B97F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B97F#FFFFFF#000000##000000
##31B97F1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AB7B
Deuteranopia (green-blind)
#A69F83
Tritanopia (blue-blind)
#00B8AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b97f;
/* rgb */ color: rgb(49, 185, 127);
/* oklch */ color: oklch(70.0% 0.143 160.0);
Tailwind
colors: {
  custom: {
    50: '#7dcfa4',
    500: '#31b97f',
    950: '#000000',
  },
}
SCSS
$custom: #31b97f;
$custom-light: #7dcfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#31b97f",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 127
  },
  "hsl": {
    "h": 154.412,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69998,
    "c": 0.14338,
    "h": 160
  },
  "luminance": 0.36883
}

Semantic roles & 50–950 ramp

primary
#31B97F
secondary
#C87D9D
accent
#4689E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B140F
muted
#7C827F

Preview Lab

Preview with #31B97F

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

Preview Lab → · Contrast checker → · Palette generator →

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