#173F28#173F28

#173F28 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.2% C 0.061 H 155.6°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#173F28
RGBrgb(23, 63, 40)
HSLhsl(146, 47%, 17%)
HSVhsv(146, 63%, 25%)
CMYKcmyk(63.5%, 0%, 36.5%, 75.3%)
CIE-LABlab(23.30, -20.45, 9.99)
CIE-LCHlch(23.30, 22.76, 153.97°)
OKLaboklab(33.17% -0.0557 0.0252)
OKLCHoklch(33.17% 0.061 155.6)
XYZxyz(2.5137, 3.8901, 2.6255)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F28 #3F172E
analogous
#1A3F17 #173F28 #173F3C
triadic
#173F28 #28173F #3F2817
tetradic
#173F28 #171A3F #3F172E #3F3C17
square
#173F28 #171A3F #3F172E #3F3C17
split-complementary
#173F28 #3C173F #3F171A
monochromatic
#08160E #08160E #173F28 #276C44 #389961

Accessibility & contrast

On white

11.81
#173F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#173F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F28
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F28#FFFFFF#000000##FFFFFF
##173F281.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A27
Deuteranopia (green-blind)
#393629
Tritanopia (blue-blind)
#0A3E39
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173f28;
/* rgb */ color: rgb(23, 63, 40);
/* oklch */ color: oklch(33.2% 0.061 155.6);
Tailwind
colors: {
  custom: {
    50: '#587462',
    500: '#173f28',
    950: '#000000',
  },
}
SCSS
$custom: #173f28;
$custom-light: #587462;
$custom-dark: #000000;
JSON
{
  "hex": "#173f28",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 40
  },
  "hsl": {
    "h": 145.5,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.33172,
    "c": 0.06115,
    "h": 155.6
  },
  "luminance": 0.0389
}

Semantic roles & 50–950 ramp

primary
#173F28
secondary
#763C5D
accent
#529ED6
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #173F28

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

Preview Lab → · Contrast checker → · Palette generator →

#173F28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva