#31977C#31977C

#31977C is a mid, moderate teal. Relative luminance 0.242; OKLCH L 61.1% C 0.102 H 171.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#31977C
RGBrgb(49, 151, 124)
HSLhsl(164, 51%, 39%)
HSVhsv(164, 68%, 59%)
CMYKcmyk(67.5%, 0%, 17.9%, 40.8%)
CIE-LABlab(56.33, -35.85, 5.76)
CIE-LCHlch(56.33, 36.31, 170.87°)
OKLaboklab(61.07% -0.1009 0.0147)
OKLCHoklch(61.07% 0.102 171.7)
XYZxyz(15.9695, 24.2397, 22.9020)
Luminance0.2424 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31977C #97314C
analogous
#319749 #31977C #317F97
triadic
#31977C #7C3197 #977C31
tetradic
#31977C #493197 #97314C #7F9731
square
#31977C #493197 #97314C #7F9731
split-complementary
#31977C #97317F #974931
monochromatic
#133B30 #226956 #31977C #43C2A0 #71D1B8

Accessibility & contrast

On white

3.59
#31977C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#31977C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31977C
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31977C#FFFFFF#000000##000000
##31977C1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928D7B
Deuteranopia (green-blind)
#84837E
Tritanopia (blue-blind)
#00988F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #31977c;
/* rgb */ color: rgb(49, 151, 124);
/* oklch */ color: oklch(61.1% 0.102 171.7);
Tailwind
colors: {
  custom: {
    50: '#76b6a1',
    500: '#31977c',
    950: '#000000',
  },
}
SCSS
$custom: #31977c;
$custom-light: #76b6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31977c",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 124
  },
  "hsl": {
    "h": 164.118,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61071,
    "c": 0.10193,
    "h": 171.7
  },
  "luminance": 0.24241
}

Semantic roles & 50–950 ramp

primary
#31977C
secondary
#B96B80
accent
#4D73DA
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #31977C

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

Preview Lab → · Contrast checker → · Palette generator →

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