#177A5C#177A5C

#177A5C is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.8% C 0.099 H 167.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#177A5C
RGBrgb(23, 122, 92)
HSLhsl(162, 68%, 28%)
HSVhsv(162, 81%, 48%)
CMYKcmyk(81.1%, 0%, 24.6%, 52.2%)
CIE-LABlab(45.46, -34.98, 8.74)
CIE-LCHlch(45.46, 36.05, 165.96°)
OKLaboklab(51.75% -0.0966 0.0223)
OKLCHoklch(51.75% 0.099 167)
XYZxyz(9.2436, 14.8728, 12.5067)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A5C #7A1735
analogous
#177A2A #177A5C #17667A
triadic
#177A5C #5C177A #7A5C17
tetradic
#177A5C #2A177A #7A1735 #667A17
square
#177A5C #2A177A #7A1735 #667A17
split-complementary
#177A5C #7A1766 #7A2A17
monochromatic
#051A13 #0D4735 #177A5C #21AD83 #33D9A6

Accessibility & contrast

On white

5.28
#177A5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#177A5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177A5C
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177A5C#FFFFFF#000000##FFFFFF
##177A5C1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715A
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #177a5c;
/* rgb */ color: rgb(23, 122, 92);
/* oklch */ color: oklch(51.8% 0.099 167.0);
Tailwind
colors: {
  custom: {
    50: '#66a18a',
    500: '#177a5c',
    950: '#000000',
  },
}
SCSS
$custom: #177a5c;
$custom-light: #66a18a;
$custom-dark: #000000;
JSON
{
  "hex": "#177a5c",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 92
  },
  "hsl": {
    "h": 161.818,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51753,
    "c": 0.09918,
    "h": 167
  },
  "luminance": 0.14874
}

Semantic roles & 50–950 ramp

primary
#177A5C
secondary
#AF3E60
accent
#3D72EB
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #177A5C

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

Preview Lab → · Contrast checker → · Palette generator →

#177A5C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva