#177F5F#177F5F

#177F5F is a mid, moderate teal. Relative luminance 0.162; OKLCH L 53.2% C 0.103 H 166.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#177F5F
RGBrgb(23, 127, 95)
HSLhsl(162, 69%, 29%)
HSVhsv(162, 82%, 50%)
CMYKcmyk(81.9%, 0%, 25.2%, 50.2%)
CIE-LABlab(47.22, -36.39, 9.46)
CIE-LCHlch(47.22, 37.60, 165.43°)
OKLaboklab(53.22% -0.1004 0.0242)
OKLCHoklch(53.22% 0.103 166.5)
XYZxyz(10.0071, 16.1859, 13.4210)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F5F #7F1737
analogous
#177F2B #177F5F #176B7F
triadic
#177F5F #5F177F #7F5F17
tetradic
#177F5F #2B177F #7F1737 #6B7F17
square
#177F5F #2B177F #7F1737 #6B7F17
split-complementary
#177F5F #7F176B #7F2B17
monochromatic
#051A13 #0E4B38 #177F5F #20B386 #36DBA8

Accessibility & contrast

On white

4.96
#177F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#177F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177F5F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177F5F#FFFFFF#000000##FFFFFF
##177F5F1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C755D
Deuteranopia (green-blind)
#6F6C61
Tritanopia (blue-blind)
#007F76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #177f5f;
/* rgb */ color: rgb(23, 127, 95);
/* oklch */ color: oklch(53.2% 0.103 166.5);
Tailwind
colors: {
  custom: {
    50: '#68a58c',
    500: '#177f5f',
    950: '#000000',
  },
}
SCSS
$custom: #177f5f;
$custom-light: #68a58c;
$custom-dark: #000000;
JSON
{
  "hex": "#177f5f",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 95
  },
  "hsl": {
    "h": 161.538,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53221,
    "c": 0.10323,
    "h": 166.5
  },
  "luminance": 0.16187
}

Semantic roles & 50–950 ramp

primary
#177F5F
secondary
#B43E62
accent
#3C72EC
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #177F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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