#175A1C#175A1C

#175A1C is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.115 H 144.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#175A1C
RGBrgb(23, 90, 28)
HSLhsl(124, 59%, 22%)
HSVhsv(124, 74%, 35%)
CMYKcmyk(74.4%, 0%, 68.9%, 64.7%)
CIE-LABlab(33.09, -34.55, 29.04)
CIE-LCHlch(33.09, 45.14, 139.96°)
OKLaboklab(41.17% -0.0935 0.0676)
OKLCHoklch(41.17% 0.115 144.2)
XYZxyz(4.2188, 7.5779, 2.3387)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175A1C #5A1755
analogous
#335A17 #175A1C #175A3E
triadic
#175A1C #1C175A #5A1C17
tetradic
#175A1C #17335A #5A1755 #5A3E17
square
#175A1C #17335A #5A1755 #5A3E17
split-complementary
#175A1C #3E175A #5A1733
monochromatic
#061808 #0B290D #175A1C #238B2B #30BB3A

Accessibility & contrast

On white

8.35
#175A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#175A1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175A1C
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175A1C#FFFFFF#000000##FFFFFF
##175A1C1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5115
Deuteranopia (green-blind)
#544C21
Tritanopia (blue-blind)
#03574D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #175a1c;
/* rgb */ color: rgb(23, 90, 28);
/* oklch */ color: oklch(41.2% 0.115 144.2);
Tailwind
colors: {
  custom: {
    50: '#5f895b',
    500: '#175a1c',
    950: '#000000',
  },
}
SCSS
$custom: #175a1c;
$custom-light: #5f895b;
$custom-dark: #000000;
JSON
{
  "hex": "#175a1c",
  "rgb": {
    "r": 23,
    "g": 90,
    "b": 28
  },
  "hsl": {
    "h": 124.478,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41172,
    "c": 0.11539,
    "h": 144.2
  },
  "luminance": 0.07578
}

Semantic roles & 50–950 ramp

primary
#175A1C
secondary
#913C8B
accent
#45D7E2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #175A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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