#31977A#31977A

#31977A is a mid, moderate teal. Relative luminance 0.242; OKLCH L 61.0% C 0.103 H 170.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#31977A
RGBrgb(49, 151, 122)
HSLhsl(163, 51%, 39%)
HSVhsv(163, 68%, 59%)
CMYKcmyk(67.5%, 0%, 19.2%, 40.8%)
CIE-LABlab(56.28, -36.36, 6.83)
CIE-LCHlch(56.28, 37.00, 169.37°)
OKLaboklab(61.01% -0.1018 0.0174)
OKLCHoklch(61.01% 0.103 170.3)
XYZxyz(15.8443, 24.1896, 22.2426)
Luminance0.2419 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31977A #97314E
analogous
#319747 #31977A #318197
triadic
#31977A #7A3197 #977A31
tetradic
#31977A #473197 #97314E #819731
square
#31977A #473197 #97314E #819731
split-complementary
#31977A #973181 #974731
monochromatic
#133B2F #226955 #31977A #43C29E #71D1B6

Accessibility & contrast

On white

3.60
#31977A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#31977A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31977A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31977A#FFFFFF#000000##000000
##31977A1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938D79
Deuteranopia (green-blind)
#85837C
Tritanopia (blue-blind)
#00988F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #31977a;
/* rgb */ color: rgb(49, 151, 122);
/* oklch */ color: oklch(61.0% 0.103 170.3);
Tailwind
colors: {
  custom: {
    50: '#76b6a0',
    500: '#31977a',
    950: '#000000',
  },
}
SCSS
$custom: #31977a;
$custom-light: #76b6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#31977a",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 122
  },
  "hsl": {
    "h": 162.941,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61013,
    "c": 0.10333,
    "h": 170.3
  },
  "luminance": 0.24191
}

Semantic roles & 50–950 ramp

primary
#31977A
secondary
#B96B81
accent
#4D75DA
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #31977A

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

Preview Lab → · Contrast checker → · Palette generator →

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