#31976B#31976B

#31976B is a mid, moderate teal. Relative luminance 0.238; OKLCH L 60.6% C 0.116 H 160.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#31976B
RGBrgb(49, 151, 107)
HSLhsl(154, 51%, 39%)
HSVhsv(154, 68%, 59%)
CMYKcmyk(67.5%, 0%, 29.1%, 40.8%)
CIE-LABlab(55.93, -39.94, 14.83)
CIE-LCHlch(55.93, 42.61, 159.63°)
OKLaboklab(60.62% -0.1092 0.0377)
OKLCHoklch(60.62% 0.116 160.9)
XYZxyz(14.9856, 23.8461, 17.7201)
Luminance0.2385 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31976B #97315D
analogous
#319738 #31976B #319097
triadic
#31976B #6B3197 #976B31
tetradic
#31976B #383197 #97315D #909731
square
#31976B #383197 #97315D #909731
split-complementary
#31976B #973190 #973831
monochromatic
#133B2A #22694A #31976B #43C28B #71D1A8

Accessibility & contrast

On white

3.64
#31976B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#31976B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31976B
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31976B#FFFFFF#000000##000000
##31976B1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958C68
Deuteranopia (green-blind)
#87826E
Tritanopia (blue-blind)
#00978B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #31976b;
/* rgb */ color: rgb(49, 151, 107);
/* oklch */ color: oklch(60.6% 0.116 160.9);
Tailwind
colors: {
  custom: {
    50: '#76b695',
    500: '#31976b',
    950: '#000000',
  },
}
SCSS
$custom: #31976b;
$custom-light: #76b695;
$custom-dark: #000000;
JSON
{
  "hex": "#31976b",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 107
  },
  "hsl": {
    "h": 154.118,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60618,
    "c": 0.11555,
    "h": 160.9
  },
  "luminance": 0.23848
}

Semantic roles & 50–950 ramp

primary
#31976B
secondary
#B96B8D
accent
#4D8ADA
background
#F7FBF9
surface
#EEF6F1
border
#C9D0CB
text
#09110D
muted
#7B807E

Preview Lab

Preview with #31976B

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

Preview Lab → · Contrast checker → · Palette generator →

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