#173E17#173E17

#173E17 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.5% C 0.079 H 143.5°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#173E17
RGBrgb(23, 62, 23)
HSLhsl(120, 46%, 17%)
HSVhsv(120, 63%, 24%)
CMYKcmyk(62.9%, 0%, 62.9%, 75.7%)
CIE-LABlab(22.62, -23.30, 19.67)
CIE-LCHlch(22.62, 30.49, 139.83°)
OKLaboklab(32.51% -0.0633 0.0469)
OKLCHoklch(32.51% 0.079 143.5)
XYZxyz(2.2305, 3.6891, 1.4050)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E17 #3E173E
analogous
#2B3E17 #173E17 #173E2B
triadic
#173E17 #17173E #3E1717
tetradic
#173E17 #172B3E #3E173E #3E2B17
square
#173E17 #172B3E #3E173E #3E2B17
split-complementary
#173E17 #2B173E #3E172B
monochromatic
#081608 #081608 #173E17 #286B28 #389738

Accessibility & contrast

On white

12.08
#173E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#173E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E17
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E17#FFFFFF#000000##FFFFFF
##173E171.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3813
Deuteranopia (green-blind)
#3A351A
Tritanopia (blue-blind)
#113C35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173e17;
/* rgb */ color: rgb(23, 62, 23);
/* oklch */ color: oklch(32.5% 0.079 143.5);
Tailwind
colors: {
  custom: {
    50: '#597455',
    500: '#173e17',
    950: '#000000',
  },
}
SCSS
$custom: #173e17;
$custom-light: #597455;
$custom-dark: #000000;
JSON
{
  "hex": "#173e17",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.32505,
    "c": 0.07877,
    "h": 143.5
  },
  "luminance": 0.03689
}

Semantic roles & 50–950 ramp

primary
#173E17
secondary
#753C75
accent
#52D6D6
background
#F5F7F5
surface
#E9EDE8
border
#C5C8C4
text
#040803
muted
#797B78

Preview Lab

Preview with #173E17

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

Preview Lab → · Contrast checker → · Palette generator →

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