#175D1F#175D1F

#175D1F is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.117 H 144.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#175D1F
RGBrgb(23, 93, 31)
HSLhsl(127, 60%, 23%)
HSVhsv(127, 75%, 36%)
CMYKcmyk(75.3%, 0%, 66.7%, 63.5%)
CIE-LABlab(34.21, -35.34, 28.80)
CIE-LCHlch(34.21, 45.59, 140.82°)
OKLaboklab(42.11% -0.0955 0.0674)
OKLCHoklch(42.11% 0.117 144.8)
XYZxyz(4.5147, 8.1093, 2.6234)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175D1F #5D1755
analogous
#325D17 #175D1F #175D42
triadic
#175D1F #1F175D #5D1F17
tetradic
#175D1F #17325D #5D1755 #5D4217
square
#175D1F #17325D #5D1755 #5D4217
split-complementary
#175D1F #42175D #5D1732
monochromatic
#061908 #0B2C0F #175D1F #238E2F #2FBF40

Accessibility & contrast

On white

8.01
#175D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#175D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175D1F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175D1F#FFFFFF#000000##FFFFFF
##175D1F1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5418
Deuteranopia (green-blind)
#574E24
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #175d1f;
/* rgb */ color: rgb(23, 93, 31);
/* oklch */ color: oklch(42.1% 0.117 144.8);
Tailwind
colors: {
  custom: {
    50: '#608c5d',
    500: '#175d1f',
    950: '#000000',
  },
}
SCSS
$custom: #175d1f;
$custom-light: #608c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#175d1f",
  "rgb": {
    "r": 23,
    "g": 93,
    "b": 31
  },
  "hsl": {
    "h": 126.857,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42111,
    "c": 0.11691,
    "h": 144.8
  },
  "luminance": 0.0811
}

Semantic roles & 50–950 ramp

primary
#175D1F
secondary
#943C8A
accent
#44D1E3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #175D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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