#31977E#31977E

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

Color values

HEX#31977E
RGBrgb(49, 151, 126)
HSLhsl(165, 51%, 39%)
HSVhsv(165, 68%, 59%)
CMYKcmyk(67.5%, 0%, 16.6%, 40.8%)
CIE-LABlab(56.38, -35.34, 4.69)
CIE-LCHlch(56.38, 35.65, 172.43°)
OKLaboklab(61.13% -0.0999 0.0119)
OKLCHoklch(61.13% 0.101 173.2)
XYZxyz(16.0973, 24.2908, 23.5749)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31977E #97314A
analogous
#31974B #31977E #317D97
triadic
#31977E #7E3197 #977E31
tetradic
#31977E #4B3197 #97314A #7D9731
square
#31977E #4B3197 #97314A #7D9731
split-complementary
#31977E #97317D #974B31
monochromatic
#133B31 #226957 #31977E #43C2A3 #71D1BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31977E#FFFFFF#000000##000000
##31977E1.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)
#928D7D
Deuteranopia (green-blind)
#848380
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #31977e;
/* rgb */ color: rgb(49, 151, 126);
/* oklch */ color: oklch(61.1% 0.101 173.2);
Tailwind
colors: {
  custom: {
    50: '#76b6a3',
    500: '#31977e',
    950: '#000000',
  },
}
SCSS
$custom: #31977e;
$custom-light: #76b6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#31977e",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 126
  },
  "hsl": {
    "h": 165.294,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61129,
    "c": 0.1006,
    "h": 173.2
  },
  "luminance": 0.24293
}

Semantic roles & 50–950 ramp

primary
#31977E
secondary
#B96B7E
accent
#4D70DA
background
#F7FBFA
surface
#EEF6F3
border
#C9D0CD
text
#0A110F
muted
#7C807F

Preview Lab

Preview with #31977E

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

Preview Lab → · Contrast checker → · Palette generator →

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