#31956E#31956E

#31956E is a mid, moderate teal. Relative luminance 0.233; OKLCH L 60.2% C 0.110 H 163.4°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#31956E
RGBrgb(49, 149, 110)
HSLhsl(157, 51%, 39%)
HSVhsv(157, 67%, 58%)
CMYKcmyk(67.1%, 0%, 26.2%, 41.6%)
CIE-LABlab(55.35, -38.39, 12.33)
CIE-LCHlch(55.35, 40.32, 162.20°)
OKLaboklab(60.16% -0.1056 0.0315)
OKLCHoklch(60.16% 0.11 163.4)
XYZxyz(14.8270, 23.2720, 18.4594)
Luminance0.2327 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31956E #953158
analogous
#31953C #31956E #318A95
triadic
#31956E #6E3195 #956E31
tetradic
#31956E #3C3195 #953158 #8A9531
square
#31956E #3C3195 #953158 #8A9531
split-complementary
#31956E #95318A #953C31
monochromatic
#13392A #22674C #31956E #42C190 #70D0AB

Accessibility & contrast

On white

3.71
#31956E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31956E#FFFFFF#000000##000000
##31956E1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928A6C
Deuteranopia (green-blind)
#858171
Tritanopia (blue-blind)
#00958A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31956e;
/* rgb */ color: rgb(49, 149, 110);
/* oklch */ color: oklch(60.2% 0.110 163.4);
Tailwind
colors: {
  custom: {
    50: '#75b597',
    500: '#31956e',
    950: '#000000',
  },
}
SCSS
$custom: #31956e;
$custom-light: #75b597;
$custom-dark: #000000;
JSON
{
  "hex": "#31956e",
  "rgb": {
    "r": 49,
    "g": 149,
    "b": 110
  },
  "hsl": {
    "h": 156.6,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60163,
    "c": 0.11017,
    "h": 163.4
  },
  "luminance": 0.23274
}

Semantic roles & 50–950 ramp

primary
#31956E
secondary
#B86A88
accent
#4E84DA
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110D
muted
#7B807E

Preview Lab

Preview with #31956E

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

Preview Lab → · Contrast checker → · Palette generator →

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