#175C1F#175C1F

#175C1F is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.116 H 144.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#175C1F
RGBrgb(23, 92, 31)
HSLhsl(127, 60%, 23%)
HSVhsv(127, 75%, 36%)
CMYKcmyk(75%, 0%, 66.3%, 63.9%)
CIE-LABlab(33.85, -34.95, 28.39)
CIE-LCHlch(33.85, 45.03, 140.91°)
OKLaboklab(41.81% -0.0945 0.0665)
OKLCHoklch(41.81% 0.116 144.9)
XYZxyz(4.4275, 7.9349, 2.5943)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175C1F #5C1754
analogous
#315C17 #175C1F #175C42
triadic
#175C1F #1F175C #5C1F17
tetradic
#175C1F #17315C #5C1754 #5C4217
square
#175C1F #17315C #5C1754 #5C4217
split-complementary
#175C1F #42175C #5C1731
monochromatic
#061808 #0B2B0F #175C1F #238D2F #2FBE40

Accessibility & contrast

On white

8.12
#175C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#175C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175C1F
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175C1F#FFFFFF#000000##FFFFFF
##175C1F1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5318
Deuteranopia (green-blind)
#564D24
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #175c1f;
/* rgb */ color: rgb(23, 92, 31);
/* oklch */ color: oklch(41.8% 0.116 144.9);
Tailwind
colors: {
  custom: {
    50: '#608b5d',
    500: '#175c1f',
    950: '#000000',
  },
}
SCSS
$custom: #175c1f;
$custom-light: #608b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#175c1f",
  "rgb": {
    "r": 23,
    "g": 92,
    "b": 31
  },
  "hsl": {
    "h": 126.957,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41811,
    "c": 0.11554,
    "h": 144.9
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#175C1F
secondary
#933C89
accent
#45D1E3
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #175C1F

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

Preview Lab → · Contrast checker → · Palette generator →

#175C1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva