#31B97D#31B97D

#31B97D is a light, vivid teal. Relative luminance 0.368; OKLCH L 70.0% C 0.145 H 159.2°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#31B97D
RGBrgb(49, 185, 125)
HSLhsl(154, 58%, 46%)
HSVhsv(154, 74%, 73%)
CMYKcmyk(73.5%, 0%, 32.4%, 27.5%)
CIE-LABlab(67.15, -49.95, 20.35)
CIE-LCHlch(67.15, 53.93, 157.83°)
OKLaboklab(69.95% -0.1357 0.0515)
OKLCHoklch(69.95% 0.145 159.2)
XYZxyz(22.3150, 36.8290, 25.3307)
Luminance0.3683 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B97D #B9316D
analogous
#31B939 #31B97D #31B1B9
triadic
#31B97D #7D31B9 #B97D31
tetradic
#31B97D #3931B9 #B9316D #B1B931
square
#31B97D #3931B9 #B9316D #B1B931
split-complementary
#31B97D #B931B1 #B93931
monochromatic
#17583C #24895C #31B97D #55D29B #86DFB7

Accessibility & contrast

On white

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

On black

8.37
#31B97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B97D
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B97D#FFFFFF#000000##000000
##31B97D1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b97d;
/* rgb */ color: rgb(49, 185, 125);
/* oklch */ color: oklch(70.0% 0.145 159.2);
Tailwind
colors: {
  custom: {
    50: '#7dcfa3',
    500: '#31b97d',
    950: '#000000',
  },
}
SCSS
$custom: #31b97d;
$custom-light: #7dcfa3;
$custom-dark: #000000;
JSON
{
  "hex": "#31b97d",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 125
  },
  "hsl": {
    "h": 153.529,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69953,
    "c": 0.14512,
    "h": 159.2
  },
  "luminance": 0.36832
}

Semantic roles & 50–950 ramp

primary
#31B97D
secondary
#C87D9E
accent
#468BE1
background
#F8FCFA
surface
#EFF9F3
border
#CAD2CD
text
#0B140F
muted
#7C827F

Preview Lab

Preview with #31B97D

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

Preview Lab → · Contrast checker → · Palette generator →

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