#31976E#31976E

#31976E is a mid, moderate teal. Relative luminance 0.239; OKLCH L 60.7% C 0.113 H 162.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#31976E
RGBrgb(49, 151, 110)
HSLhsl(156, 51%, 39%)
HSVhsv(156, 68%, 59%)
CMYKcmyk(67.5%, 0%, 27.2%, 40.8%)
CIE-LABlab(56.00, -39.26, 13.23)
CIE-LCHlch(56.00, 41.43, 161.38°)
OKLaboklab(60.69% -0.1077 0.0337)
OKLCHoklch(60.69% 0.113 162.6)
XYZxyz(15.1462, 23.9103, 18.5658)
Luminance0.2391 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31976E #97315A
analogous
#31973B #31976E #318D97
triadic
#31976E #6E3197 #976E31
tetradic
#31976E #3B3197 #97315A #8D9731
square
#31976E #3B3197 #97315A #8D9731
split-complementary
#31976E #97318D #973B31
monochromatic
#133B2B #22694C #31976E #43C28F #71D1AB

Accessibility & contrast

On white

3.63
#31976E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#31976E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31976E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31976E#FFFFFF#000000##000000
##31976E1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958C6C
Deuteranopia (green-blind)
#878271
Tritanopia (blue-blind)
#00978C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #31976e;
/* rgb */ color: rgb(49, 151, 110);
/* oklch */ color: oklch(60.7% 0.113 162.6);
Tailwind
colors: {
  custom: {
    50: '#76b697',
    500: '#31976e',
    950: '#000000',
  },
}
SCSS
$custom: #31976e;
$custom-light: #76b697;
$custom-dark: #000000;
JSON
{
  "hex": "#31976e",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 110
  },
  "hsl": {
    "h": 155.882,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60693,
    "c": 0.11291,
    "h": 162.6
  },
  "luminance": 0.23912
}

Semantic roles & 50–950 ramp

primary
#31976E
secondary
#B96B8A
accent
#4D86DA
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110D
muted
#7B807E

Preview Lab

Preview with #31976E

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

Preview Lab → · Contrast checker → · Palette generator →

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