#317162#317162

#317162 is a mid, moderate teal. Relative luminance 0.133; OKLCH L 50.2% C 0.070 H 175.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#317162
RGBrgb(49, 113, 98)
HSLhsl(166, 40%, 32%)
HSVhsv(166, 57%, 44%)
CMYKcmyk(56.6%, 0%, 13.3%, 55.7%)
CIE-LABlab(43.28, -24.48, 2.14)
CIE-LCHlch(43.28, 24.58, 175.00°)
OKLaboklab(50.21% -0.0701 0.0053)
OKLCHoklch(50.21% 0.07 175.7)
XYZxyz(9.3754, 13.3442, 13.6345)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317162 #713140
analogous
#317142 #317162 #316071
triadic
#317162 #623171 #716231
tetradic
#317162 #423171 #713140 #607131
square
#317162 #423171 #713140 #607131
split-complementary
#317162 #713160 #714231
monochromatic
#0C1C18 #1E463D #317162 #449C87 #62BBA6

Accessibility & contrast

On white

5.72
#317162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#317162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317162
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317162#FFFFFF#000000##FFFFFF
##3171621.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6A61
Deuteranopia (green-blind)
#636363
Tritanopia (blue-blind)
#0D726C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #317162;
/* rgb */ color: rgb(49, 113, 98);
/* oklch */ color: oklch(50.2% 0.070 175.7);
Tailwind
colors: {
  custom: {
    50: '#6f9a8e',
    500: '#317162',
    950: '#000000',
  },
}
SCSS
$custom: #317162;
$custom-light: #6f9a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#317162",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 98
  },
  "hsl": {
    "h": 165.938,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50214,
    "c": 0.07031,
    "h": 175.7
  },
  "luminance": 0.13345
}

Semantic roles & 50–950 ramp

primary
#317162
secondary
#A25C6C
accent
#5874CF
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0C
muted
#7B7E7D

Preview Lab

Preview with #317162

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

Preview Lab → · Contrast checker → · Palette generator →

#317162 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva