#175142#175142

#175142 is a dark, moderate teal. Relative luminance 0.065; OKLCH L 39.3% C 0.065 H 172.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#175142
RGBrgb(23, 81, 66)
HSLhsl(164, 56%, 20%)
HSVhsv(164, 72%, 32%)
CMYKcmyk(71.6%, 0%, 18.5%, 68.2%)
CIE-LABlab(30.54, -22.76, 3.41)
CIE-LCHlch(30.54, 23.01, 171.48°)
OKLaboklab(39.31% -0.0642 0.0087)
OKLCHoklch(39.31% 0.065 172.3)
XYZxyz(4.2787, 6.4599, 6.1746)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175142 #511726
analogous
#175125 #175142 #174351
triadic
#175142 #421751 #514217
tetradic
#175142 #251751 #511726 #435117
square
#175142 #251751 #511726 #435117
split-complementary
#175142 #511743 #512517
monochromatic
#071813 #09211B #175142 #258169 #32B090

Accessibility & contrast

On white

9.16
#175142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#175142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175142
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175142#FFFFFF#000000##FFFFFF
##1751421.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B41
Deuteranopia (green-blind)
#464543
Tritanopia (blue-blind)
#00524D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #175142;
/* rgb */ color: rgb(23, 81, 66);
/* oklch */ color: oklch(39.3% 0.065 172.3);
Tailwind
colors: {
  custom: {
    50: '#5d8276',
    500: '#175142',
    950: '#000000',
  },
}
SCSS
$custom: #175142;
$custom-light: #5d8276;
$custom-dark: #000000;
JSON
{
  "hex": "#175142",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 66
  },
  "hsl": {
    "h": 164.483,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3931,
    "c": 0.06474,
    "h": 172.3
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#175142
secondary
#883C4F
accent
#4970DF
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #175142

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

Preview Lab → · Contrast checker → · Palette generator →

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