#31977F#31977F

#31977F is a mid, moderate teal. Relative luminance 0.243; OKLCH L 61.2% C 0.100 H 174.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#31977F
RGBrgb(49, 151, 127)
HSLhsl(166, 51%, 39%)
HSVhsv(166, 68%, 59%)
CMYKcmyk(67.5%, 0%, 15.9%, 40.8%)
CIE-LABlab(56.40, -35.08, 4.16)
CIE-LCHlch(56.40, 35.32, 173.24°)
OKLaboklab(61.16% -0.0994 0.0105)
OKLCHoklch(61.16% 0.1 174)
XYZxyz(16.1621, 24.3167, 23.9164)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31977F #973149
analogous
#31974C #31977F #317C97
triadic
#31977F #7F3197 #977F31
tetradic
#31977F #4C3197 #973149 #7C9731
square
#31977F #4C3197 #973149 #7C9731
split-complementary
#31977F #97317C #974C31
monochromatic
#133B31 #226958 #31977F #43C2A4 #71D1BB

Accessibility & contrast

On white

3.58
#31977F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#31977F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31977F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31977F#FFFFFF#000000##000000
##31977F1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928D7E
Deuteranopia (green-blind)
#848381
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #31977f;
/* rgb */ color: rgb(49, 151, 127);
/* oklch */ color: oklch(61.2% 0.100 174.0);
Tailwind
colors: {
  custom: {
    50: '#76b6a4',
    500: '#31977f',
    950: '#000000',
  },
}
SCSS
$custom: #31977f;
$custom-light: #76b6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#31977f",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 127
  },
  "hsl": {
    "h": 165.882,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61158,
    "c": 0.09996,
    "h": 174
  },
  "luminance": 0.24318
}

Semantic roles & 50–950 ramp

primary
#31977F
secondary
#B96B7D
accent
#4D6FDA
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A110F
muted
#7C807F

Preview Lab

Preview with #31977F

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

Preview Lab → · Contrast checker → · Palette generator →

#31977F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva