#175D1C#175D1C

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

Color values

HEX#175D1C
RGBrgb(23, 93, 28)
HSLhsl(124, 60%, 23%)
HSVhsv(124, 75%, 36%)
CMYKcmyk(75.3%, 0%, 69.9%, 63.5%)
CIE-LABlab(34.18, -35.71, 30.25)
CIE-LCHlch(34.18, 46.80, 139.74°)
OKLaboklab(42.08% -0.0967 0.0701)
OKLCHoklch(42.08% 0.119 144.1)
XYZxyz(4.4770, 8.0942, 2.4248)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175D1C #5D1758
analogous
#355D17 #175D1C #175D3F
triadic
#175D1C #1C175D #5D1C17
tetradic
#175D1C #17355D #5D1758 #5D3F17
square
#175D1C #17355D #5D1758 #5D3F17
split-complementary
#175D1C #3F175D #5D1735
monochromatic
#061907 #0B2C0D #175D1C #238E2B #2FBF3A

Accessibility & contrast

On white

8.02
#175D1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #175D1C
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175D1C#FFFFFF#000000##FFFFFF
##175D1C1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5414
Deuteranopia (green-blind)
#574E22
Tritanopia (blue-blind)
#015A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #175d1c;
/* rgb */ color: rgb(23, 93, 28);
/* oklch */ color: oklch(42.1% 0.119 144.1);
Tailwind
colors: {
  custom: {
    50: '#608c5b',
    500: '#175d1c',
    950: '#000000',
  },
}
SCSS
$custom: #175d1c;
$custom-light: #608c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#175d1c",
  "rgb": {
    "r": 23,
    "g": 93,
    "b": 28
  },
  "hsl": {
    "h": 124.286,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42076,
    "c": 0.11943,
    "h": 144.1
  },
  "luminance": 0.08095
}

Semantic roles & 50–950 ramp

primary
#175D1C
secondary
#943C8E
accent
#44D8E3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #175D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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