#31996B#31996B

#31996B is a mid, moderate teal. Relative luminance 0.245; OKLCH L 61.1% C 0.118 H 160.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#31996B
RGBrgb(49, 153, 107)
HSLhsl(153, 51%, 40%)
HSVhsv(153, 68%, 60%)
CMYKcmyk(68%, 0%, 30.1%, 40%)
CIE-LABlab(56.58, -40.79, 15.72)
CIE-LCHlch(56.58, 43.72, 158.92°)
OKLaboklab(61.15% -0.1114 0.0399)
OKLCHoklch(61.15% 0.118 160.3)
XYZxyz(15.3102, 24.4953, 17.8283)
Luminance0.2450 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31996B #99315F
analogous
#319937 #31996B #319399
triadic
#31996B #6B3199 #996B31
tetradic
#31996B #373199 #99315F #939931
square
#31996B #373199 #99315F #939931
split-complementary
#31996B #993193 #993731
monochromatic
#133C2A #226B4B #31996B #44C38B #72D2A8

Accessibility & contrast

On white

3.56
#31996B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#31996B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31996B
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31996B#FFFFFF#000000##000000
##31996B1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978E68
Deuteranopia (green-blind)
#89846E
Tritanopia (blue-blind)
#00988D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #31996b;
/* rgb */ color: rgb(49, 153, 107);
/* oklch */ color: oklch(61.1% 0.118 160.3);
Tailwind
colors: {
  custom: {
    50: '#76b895',
    500: '#31996b',
    950: '#000000',
  },
}
SCSS
$custom: #31996b;
$custom-light: #76b895;
$custom-dark: #000000;
JSON
{
  "hex": "#31996b",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 107
  },
  "hsl": {
    "h": 153.462,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61149,
    "c": 0.11832,
    "h": 160.3
  },
  "luminance": 0.24497
}

Semantic roles & 50–950 ramp

primary
#31996B
secondary
#BA6C8E
accent
#4D8CDB
background
#F7FBF9
surface
#EEF6F1
border
#C9D0CB
text
#09110D
muted
#7B807E

Preview Lab

Preview with #31996B

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

Preview Lab → · Contrast checker → · Palette generator →

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