#175D2C#175D2C

#175D2C is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.104 H 149.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#175D2C
RGBrgb(23, 93, 44)
HSLhsl(138, 60%, 23%)
HSVhsv(138, 75%, 36%)
CMYKcmyk(75.3%, 0%, 52.7%, 63.5%)
CIE-LABlab(34.38, -33.35, 22.00)
CIE-LCHlch(34.38, 39.95, 146.59°)
OKLaboklab(42.31% -0.0898 0.0535)
OKLCHoklch(42.31% 0.105 149.2)
XYZxyz(4.7220, 8.1922, 3.7148)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175D2C #5D1748
analogous
#255D17 #175D2C #175D4F
triadic
#175D2C #2C175D #5D2C17
tetradic
#175D2C #17255D #5D1748 #5D4F17
square
#175D2C #17255D #5D1748 #5D4F17
split-complementary
#175D2C #4F175D #5D1725
monochromatic
#06190C #0B2C15 #175D2C #238E43 #2FBF5A

Accessibility & contrast

On white

7.96
#175D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#175D2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175D2C
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175D2C#FFFFFF#000000##FFFFFF
##175D2C1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5428
Deuteranopia (green-blind)
#554F30
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #175d2c;
/* rgb */ color: rgb(23, 93, 44);
/* oklch */ color: oklch(42.3% 0.104 149.2);
Tailwind
colors: {
  custom: {
    50: '#5f8c66',
    500: '#175d2c',
    950: '#000000',
  },
}
SCSS
$custom: #175d2c;
$custom-light: #5f8c66;
$custom-dark: #000000;
JSON
{
  "hex": "#175d2c",
  "rgb": {
    "r": 23,
    "g": 93,
    "b": 44
  },
  "hsl": {
    "h": 138,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42308,
    "c": 0.1045,
    "h": 149.2
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#175D2C
secondary
#943C79
accent
#44B4E3
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #175D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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