#31996F#31996F

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

Color values

HEX#31996F
RGBrgb(49, 153, 111)
HSLhsl(156, 51%, 40%)
HSVhsv(156, 68%, 60%)
CMYKcmyk(68%, 0%, 27.5%, 40%)
CIE-LABlab(56.67, -39.89, 13.60)
CIE-LCHlch(56.67, 42.15, 161.18°)
OKLaboklab(61.25% -0.1094 0.0347)
OKLCHoklch(61.25% 0.115 162.4)
XYZxyz(15.5255, 24.5814, 18.9623)
Luminance0.2458 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31996F #99315B
analogous
#31993B #31996F #318F99
triadic
#31996F #6F3199 #996F31
tetradic
#31996F #3B3199 #99315B #8F9931
square
#31996F #3B3199 #99315B #8F9931
split-complementary
#31996F #99318F #993B31
monochromatic
#133C2C #226B4D #31996F #44C390 #72D2AB

Accessibility & contrast

On white

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

On black

5.92
#31996F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31996F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31996F#FFFFFF#000000##000000
##31996F1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978E6D
Deuteranopia (green-blind)
#898472
Tritanopia (blue-blind)
#00998E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #31996f;
/* rgb */ color: rgb(49, 153, 111);
/* oklch */ color: oklch(61.2% 0.115 162.4);
Tailwind
colors: {
  custom: {
    50: '#76b898',
    500: '#31996f',
    950: '#000000',
  },
}
SCSS
$custom: #31996f;
$custom-light: #76b898;
$custom-dark: #000000;
JSON
{
  "hex": "#31996f",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 111
  },
  "hsl": {
    "h": 155.769,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61247,
    "c": 0.11477,
    "h": 162.4
  },
  "luminance": 0.24583
}

Semantic roles & 50–950 ramp

primary
#31996F
secondary
#BA6C8B
accent
#4D86DB
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110D
muted
#7B807E

Preview Lab

Preview with #31996F

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

Preview Lab → · Contrast checker → · Palette generator →

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