#31917F#31917F

#31917F is a mid, moderate teal. Relative luminance 0.224; OKLCH L 59.6% C 0.093 H 178.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#31917F
RGBrgb(49, 145, 127)
HSLhsl(169, 49%, 38%)
HSVhsv(169, 66%, 57%)
CMYKcmyk(66.2%, 0%, 12.4%, 43.1%)
CIE-LABlab(54.48, -32.29, 1.38)
CIE-LCHlch(54.48, 32.32, 177.55°)
OKLaboklab(59.59% -0.0929 0.0032)
OKLCHoklch(59.59% 0.093 178.1)
XYZxyz(15.2210, 22.4344, 23.6027)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31917F #913143
analogous
#31914F #31917F #317391
triadic
#31917F #7F3191 #917F31
tetradic
#31917F #4F3191 #913143 #739131
square
#31917F #4F3191 #913143 #739131
split-complementary
#31917F #913173 #914F31
monochromatic
#12362F #226357 #31917F #41BFA7 #6ECEBC

Accessibility & contrast

On white

3.83
#31917F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#31917F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31917F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31917F#FFFFFF#000000##000000
##31917F1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B887E
Deuteranopia (green-blind)
#7D7E80
Tritanopia (blue-blind)
#00938C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #31917f;
/* rgb */ color: rgb(49, 145, 127);
/* oklch */ color: oklch(59.6% 0.093 178.1);
Tailwind
colors: {
  custom: {
    50: '#75b2a4',
    500: '#31917f',
    950: '#000000',
  },
}
SCSS
$custom: #31917f;
$custom-light: #75b2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#31917f",
  "rgb": {
    "r": 49,
    "g": 145,
    "b": 127
  },
  "hsl": {
    "h": 168.75,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59594,
    "c": 0.09292,
    "h": 178.1
  },
  "luminance": 0.22436
}

Semantic roles & 50–950 ramp

primary
#31917F
secondary
#B66877
accent
#4F69D9
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#09110F
muted
#7B807F

Preview Lab

Preview with #31917F

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

Preview Lab → · Contrast checker → · Palette generator →

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