#31976D#31976D

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

Color values

HEX#31976D
RGBrgb(49, 151, 109)
HSLhsl(155, 51%, 39%)
HSVhsv(155, 68%, 59%)
CMYKcmyk(67.5%, 0%, 27.8%, 40.8%)
CIE-LABlab(55.98, -39.49, 13.76)
CIE-LCHlch(55.98, 41.82, 160.78°)
OKLaboklab(60.67% -0.1082 0.0351)
OKLCHoklch(60.67% 0.114 162)
XYZxyz(15.0920, 23.8887, 18.2806)
Luminance0.2389 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31976D #97315B
analogous
#31973A #31976D #318E97
triadic
#31976D #6D3197 #976D31
tetradic
#31976D #3A3197 #97315B #8E9731
square
#31976D #3A3197 #97315B #8E9731
split-complementary
#31976D #97318E #973A31
monochromatic
#133B2A #22694C #31976D #43C28E #71D1AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31976D#FFFFFF#000000##000000
##31976D1.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)
#958C6B
Deuteranopia (green-blind)
#878270
Tritanopia (blue-blind)
#00978C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #31976d;
/* rgb */ color: rgb(49, 151, 109);
/* oklch */ color: oklch(60.7% 0.114 162.0);
Tailwind
colors: {
  custom: {
    50: '#76b697',
    500: '#31976d',
    950: '#000000',
  },
}
SCSS
$custom: #31976d;
$custom-light: #76b697;
$custom-dark: #000000;
JSON
{
  "hex": "#31976d",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 109
  },
  "hsl": {
    "h": 155.294,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60668,
    "c": 0.11378,
    "h": 162
  },
  "luminance": 0.2389
}

Semantic roles & 50–950 ramp

primary
#31976D
secondary
#B96B8B
accent
#4D87DA
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110D
muted
#7B807E

Preview Lab

Preview with #31976D

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

Preview Lab → · Contrast checker → · Palette generator →

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