#31956C#31956C

#31956C is a mid, moderate teal. Relative luminance 0.232; OKLCH L 60.1% C 0.112 H 162.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#31956C
RGBrgb(49, 149, 108)
HSLhsl(155, 51%, 39%)
HSVhsv(155, 67%, 58%)
CMYKcmyk(67.1%, 0%, 27.5%, 41.6%)
CIE-LABlab(55.31, -38.85, 13.40)
CIE-LCHlch(55.31, 41.10, 160.98°)
OKLaboklab(60.11% -0.1066 0.0342)
OKLCHoklch(60.11% 0.112 162.2)
XYZxyz(14.7194, 23.2290, 17.8924)
Luminance0.2323 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31956C #95315A
analogous
#31953A #31956C #318C95
triadic
#31956C #6C3195 #956C31
tetradic
#31956C #3A3195 #95315A #8C9531
square
#31956C #3A3195 #95315A #8C9531
split-complementary
#31956C #95318C #953A31
monochromatic
#133929 #22674B #31956C #42C18D #70D0A9

Accessibility & contrast

On white

3.72
#31956C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#31956C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31956C
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31956C#FFFFFF#000000##000000
##31956C1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938A6A
Deuteranopia (green-blind)
#85816F
Tritanopia (blue-blind)
#00958A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #31956c;
/* rgb */ color: rgb(49, 149, 108);
/* oklch */ color: oklch(60.1% 0.112 162.2);
Tailwind
colors: {
  custom: {
    50: '#75b596',
    500: '#31956c',
    950: '#000000',
  },
}
SCSS
$custom: #31956c;
$custom-light: #75b596;
$custom-dark: #000000;
JSON
{
  "hex": "#31956c",
  "rgb": {
    "r": 49,
    "g": 149,
    "b": 108
  },
  "hsl": {
    "h": 155.4,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60112,
    "c": 0.11191,
    "h": 162.2
  },
  "luminance": 0.23231
}

Semantic roles & 50–950 ramp

primary
#31956C
secondary
#B86A8A
accent
#4E87DA
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110D
muted
#7B807E

Preview Lab

Preview with #31956C

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

Preview Lab → · Contrast checker → · Palette generator →

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