#31917C#31917C

#31917C is a mid, moderate teal. Relative luminance 0.224; OKLCH L 59.5% C 0.095 H 175.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#31917C
RGBrgb(49, 145, 124)
HSLhsl(167, 49%, 38%)
HSVhsv(167, 66%, 57%)
CMYKcmyk(66.2%, 0%, 14.5%, 43.1%)
CIE-LABlab(54.40, -33.09, 2.99)
CIE-LCHlch(54.40, 33.23, 174.84°)
OKLaboklab(59.5% -0.0943 0.0074)
OKLCHoklch(59.5% 0.095 175.5)
XYZxyz(15.0283, 22.3574, 22.5883)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31917C #913146
analogous
#31914C #31917C #317691
triadic
#31917C #7C3191 #917C31
tetradic
#31917C #4C3191 #913146 #769131
square
#31917C #4C3191 #913146 #769131
split-complementary
#31917C #913176 #914C31
monochromatic
#12362E #226355 #31917C #41BFA3 #6ECEB9

Accessibility & contrast

On white

3.84
#31917C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#31917C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31917C
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31917C#FFFFFF#000000##000000
##31917C1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C887B
Deuteranopia (green-blind)
#7E7E7E
Tritanopia (blue-blind)
#00938B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #31917c;
/* rgb */ color: rgb(49, 145, 124);
/* oklch */ color: oklch(59.5% 0.095 175.5);
Tailwind
colors: {
  custom: {
    50: '#75b2a1',
    500: '#31917c',
    950: '#000000',
  },
}
SCSS
$custom: #31917c;
$custom-light: #75b2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31917c",
  "rgb": {
    "r": 49,
    "g": 145,
    "b": 124
  },
  "hsl": {
    "h": 166.875,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59501,
    "c": 0.09462,
    "h": 175.5
  },
  "luminance": 0.22359
}

Semantic roles & 50–950 ramp

primary
#31917C
secondary
#B66879
accent
#4F6DD9
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #31917C

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

Preview Lab → · Contrast checker → · Palette generator →

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