#31996E#31996E

#31996E is a mid, moderate teal. Relative luminance 0.246; OKLCH L 61.2% C 0.116 H 161.9°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#31996E
RGBrgb(49, 153, 110)
HSLhsl(155, 51%, 40%)
HSVhsv(155, 68%, 60%)
CMYKcmyk(68%, 0%, 28.1%, 40%)
CIE-LABlab(56.64, -40.12, 14.13)
CIE-LCHlch(56.64, 42.54, 160.60°)
OKLaboklab(61.22% -0.1099 0.036)
OKLCHoklch(61.22% 0.116 161.9)
XYZxyz(15.4708, 24.5595, 18.6740)
Luminance0.2456 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31996E #99315C
analogous
#31993A #31996E #319099
triadic
#31996E #6E3199 #996E31
tetradic
#31996E #3A3199 #99315C #909931
square
#31996E #3A3199 #99315C #909931
split-complementary
#31996E #993190 #993A31
monochromatic
#133C2B #226B4D #31996E #44C38F #72D2AA

Accessibility & contrast

On white

3.55
#31996E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#31996E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31996E
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31996E#FFFFFF#000000##000000
##31996E1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978E6C
Deuteranopia (green-blind)
#898471
Tritanopia (blue-blind)
#00998D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #31996e;
/* rgb */ color: rgb(49, 153, 110);
/* oklch */ color: oklch(61.2% 0.116 161.9);
Tailwind
colors: {
  custom: {
    50: '#76b897',
    500: '#31996e',
    950: '#000000',
  },
}
SCSS
$custom: #31996e;
$custom-light: #76b897;
$custom-dark: #000000;
JSON
{
  "hex": "#31996e",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 110
  },
  "hsl": {
    "h": 155.192,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61222,
    "c": 0.11564,
    "h": 161.9
  },
  "luminance": 0.24561
}

Semantic roles & 50–950 ramp

primary
#31996E
secondary
#BA6C8C
accent
#4D88DB
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110D
muted
#7B807E

Preview Lab

Preview with #31996E

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

Preview Lab → · Contrast checker → · Palette generator →

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