#173C1E#173C1E

#173C1E is a dark, moderate green. Relative luminance 0.035; OKLCH L 32.0% C 0.068 H 147.8°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#173C1E
RGBrgb(23, 60, 30)
HSLhsl(131, 45%, 16%)
HSVhsv(131, 62%, 24%)
CMYKcmyk(61.7%, 0%, 50%, 76.5%)
CIE-LABlab(21.97, -21.10, 14.62)
CIE-LCHlch(21.97, 25.67, 145.28°)
OKLaboklab(32.01% -0.0572 0.036)
OKLCHoklch(32.01% 0.068 147.8)
XYZxyz(2.2034, 3.5074, 1.7889)
Luminance0.0351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C1E #3C1735
analogous
#233C17 #173C1E #173C31
triadic
#173C1E #1E173C #3C1E17
tetradic
#173C1E #17233C #3C1735 #3C3117
square
#173C1E #17233C #3C1735 #3C3117
split-complementary
#173C1E #31173C #3C1723
monochromatic
#08160B #08160B #173C1E #286834 #39944A

Accessibility & contrast

On white

12.34
#173C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#173C1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C1E
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C1E#FFFFFF#000000##FFFFFF
##173C1E1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371C
Deuteranopia (green-blind)
#383320
Tritanopia (blue-blind)
#0F3B35
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173c1e;
/* rgb */ color: rgb(23, 60, 30);
/* oklch */ color: oklch(32.0% 0.068 147.8);
Tailwind
colors: {
  custom: {
    50: '#58725a',
    500: '#173c1e',
    950: '#000000',
  },
}
SCSS
$custom: #173c1e;
$custom-light: #58725a;
$custom-dark: #000000;
JSON
{
  "hex": "#173c1e",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 30
  },
  "hsl": {
    "h": 131.351,
    "s": 44.578,
    "l": 16.275
  },
  "oklch": {
    "l": 0.32012,
    "c": 0.06756,
    "h": 147.8
  },
  "luminance": 0.03508
}

Semantic roles & 50–950 ramp

primary
#173C1E
secondary
#733C68
accent
#54BCD4
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030803
muted
#787B78

Preview Lab

Preview with #173C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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