#174A38#174A38

#174A38 is a dark, moderate teal. Relative luminance 0.054; OKLCH L 36.9% C 0.063 H 166.3°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#174A38
RGBrgb(23, 74, 56)
HSLhsl(159, 53%, 19%)
HSVhsv(159, 69%, 29%)
CMYKcmyk(68.9%, 0%, 24.3%, 71%)
CIE-LABlab(27.75, -21.98, 5.82)
CIE-LCHlch(27.75, 22.74, 165.17°)
OKLaboklab(36.94% -0.061 0.0149)
OKLCHoklch(36.94% 0.063 166.3)
XYZxyz(3.5156, 5.3649, 4.5909)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A38 #4A1729
analogous
#174A1F #174A38 #17434A
triadic
#174A38 #38174A #4A3817
tetradic
#174A38 #1F174A #4A1729 #434A17
square
#174A38 #1F174A #4A1729 #434A17
split-complementary
#174A38 #4A1743 #4A1F17
monochromatic
#071712 #081B15 #174A38 #26795B #34A77F

Accessibility & contrast

On white

10.13
#174A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#174A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A38
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A38#FFFFFF#000000##FFFFFF
##174A381.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484537
Deuteranopia (green-blind)
#413F39
Tritanopia (blue-blind)
#004A45
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #174a38;
/* rgb */ color: rgb(23, 74, 56);
/* oklch */ color: oklch(36.9% 0.063 166.3);
Tailwind
colors: {
  custom: {
    50: '#5b7d6e',
    500: '#174a38',
    950: '#000000',
  },
}
SCSS
$custom: #174a38;
$custom-light: #5b7d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#174a38",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 56
  },
  "hsl": {
    "h": 158.824,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.36937,
    "c": 0.06279,
    "h": 166.3
  },
  "luminance": 0.05365
}

Semantic roles & 50–950 ramp

primary
#174A38
secondary
#813C54
accent
#4C7FDC
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040907
muted
#797B7A

Preview Lab

Preview with #174A38

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

Preview Lab → · Contrast checker → · Palette generator →

#174A38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva