#173E1F#173E1F

#173E1F is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.7% C 0.070 H 148.1°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#173E1F
RGBrgb(23, 62, 31)
HSLhsl(132, 46%, 17%)
HSVhsv(132, 63%, 24%)
CMYKcmyk(62.9%, 0%, 50%, 75.7%)
CIE-LABlab(22.74, -21.90, 14.99)
CIE-LCHlch(22.74, 26.54, 145.60°)
OKLaboklab(32.65% -0.0593 0.0369)
OKLCHoklch(32.65% 0.07 148.1)
XYZxyz(2.3231, 3.7261, 1.8928)
Luminance0.0373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E1F #3E1736
analogous
#233E17 #173E1F #173E33
triadic
#173E1F #1F173E #3E1F17
tetradic
#173E1F #17233E #3E1736 #3E3317
square
#173E1F #17233E #3E1736 #3E3317
split-complementary
#173E1F #33173E #3E1723
monochromatic
#08160B #08160B #173E1F #286B35 #38974C

Accessibility & contrast

On white

12.03
#173E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#173E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E1F
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E1F#FFFFFF#000000##FFFFFF
##173E1F1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F381D
Deuteranopia (green-blind)
#393521
Tritanopia (blue-blind)
#0F3D36
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173e1f;
/* rgb */ color: rgb(23, 62, 31);
/* oklch */ color: oklch(32.7% 0.070 148.1);
Tailwind
colors: {
  custom: {
    50: '#58745b',
    500: '#173e1f',
    950: '#000000',
  },
}
SCSS
$custom: #173e1f;
$custom-light: #58745b;
$custom-dark: #000000;
JSON
{
  "hex": "#173e1f",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 31
  },
  "hsl": {
    "h": 132.308,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.32652,
    "c": 0.06983,
    "h": 148.1
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#173E1F
secondary
#753C69
accent
#52BBD6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #173E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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