#31996C#31996C

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

Color values

HEX#31996C
RGBrgb(49, 153, 108)
HSLhsl(154, 51%, 40%)
HSVhsv(154, 68%, 60%)
CMYKcmyk(68%, 0%, 29.4%, 40%)
CIE-LABlab(56.60, -40.57, 15.19)
CIE-LCHlch(56.60, 43.32, 159.47°)
OKLaboklab(61.17% -0.1109 0.0386)
OKLCHoklch(61.17% 0.117 160.8)
XYZxyz(15.3631, 24.5165, 18.1069)
Luminance0.2452 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31996C #99315E
analogous
#319938 #31996C #319299
triadic
#31996C #6C3199 #996C31
tetradic
#31996C #383199 #99315E #929931
square
#31996C #383199 #99315E #929931
split-complementary
#31996C #993192 #993831
monochromatic
#133C2B #226B4B #31996C #44C38C #72D2A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31996C#FFFFFF#000000##000000
##31996C1.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)
#978E69
Deuteranopia (green-blind)
#89846F
Tritanopia (blue-blind)
#00988D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #31996c;
/* rgb */ color: rgb(49, 153, 108);
/* oklch */ color: oklch(61.2% 0.117 160.8);
Tailwind
colors: {
  custom: {
    50: '#76b896',
    500: '#31996c',
    950: '#000000',
  },
}
SCSS
$custom: #31996c;
$custom-light: #76b896;
$custom-dark: #000000;
JSON
{
  "hex": "#31996c",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 108
  },
  "hsl": {
    "h": 154.038,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61173,
    "c": 0.11741,
    "h": 160.8
  },
  "luminance": 0.24518
}

Semantic roles & 50–950 ramp

primary
#31996C
secondary
#BA6C8E
accent
#4D8ADB
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110D
muted
#7B807E

Preview Lab

Preview with #31996C

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

Preview Lab → · Contrast checker → · Palette generator →

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