#31976F#31976F

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

Color values

HEX#31976F
RGBrgb(49, 151, 111)
HSLhsl(156, 51%, 39%)
HSVhsv(156, 68%, 59%)
CMYKcmyk(67.5%, 0%, 26.5%, 40.8%)
CIE-LABlab(56.02, -39.03, 12.70)
CIE-LCHlch(56.02, 41.04, 161.98°)
OKLaboklab(60.72% -0.1073 0.0324)
OKLCHoklch(60.72% 0.112 163.2)
XYZxyz(15.2009, 23.9322, 18.8541)
Luminance0.2393 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31976F #973159
analogous
#31973C #31976F #318C97
triadic
#31976F #6F3197 #976F31
tetradic
#31976F #3C3197 #973159 #8C9731
square
#31976F #3C3197 #973159 #8C9731
split-complementary
#31976F #97318C #973C31
monochromatic
#133B2B #22694D #31976F #43C290 #71D1AC

Accessibility & contrast

On white

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

On black

5.79
#31976F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31976F
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31976F#FFFFFF#000000##000000
##31976F1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948C6D
Deuteranopia (green-blind)
#878272
Tritanopia (blue-blind)
#00978C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #31976f;
/* rgb */ color: rgb(49, 151, 111);
/* oklch */ color: oklch(60.7% 0.112 163.2);
Tailwind
colors: {
  custom: {
    50: '#76b698',
    500: '#31976f',
    950: '#000000',
  },
}
SCSS
$custom: #31976f;
$custom-light: #76b698;
$custom-dark: #000000;
JSON
{
  "hex": "#31976f",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 111
  },
  "hsl": {
    "h": 156.471,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60718,
    "c": 0.11205,
    "h": 163.2
  },
  "luminance": 0.23934
}

Semantic roles & 50–950 ramp

primary
#31976F
secondary
#B96B89
accent
#4D85DA
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110D
muted
#7B807E

Preview Lab

Preview with #31976F

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

Preview Lab → · Contrast checker → · Palette generator →

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