#175A17#175A17

#175A17 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.1% C 0.119 H 143.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#175A17
RGBrgb(23, 90, 23)
HSLhsl(120, 59%, 22%)
HSVhsv(120, 74%, 35%)
CMYKcmyk(74.4%, 0%, 74.4%, 64.7%)
CIE-LABlab(33.04, -35.12, 31.35)
CIE-LCHlch(33.04, 47.08, 138.24°)
OKLaboklab(41.12% -0.0953 0.0718)
OKLCHoklch(41.12% 0.119 143)
XYZxyz(4.1639, 7.5559, 2.0494)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175A17 #5A175A
analogous
#395A17 #175A17 #175A39
triadic
#175A17 #17175A #5A1717
tetradic
#175A17 #17395A #5A175A #5A3917
square
#175A17 #17395A #5A175A #5A3917
split-complementary
#175A17 #39175A #5A1739
monochromatic
#061806 #0B290B #175A17 #238B23 #30BB30

Accessibility & contrast

On white

8.36
#175A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#175A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175A17
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175A17#FFFFFF#000000##FFFFFF
##175A171.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510D
Deuteranopia (green-blind)
#544C1D
Tritanopia (blue-blind)
#05574D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #175a17;
/* rgb */ color: rgb(23, 90, 23);
/* oklch */ color: oklch(41.1% 0.119 143.0);
Tailwind
colors: {
  custom: {
    50: '#608958',
    500: '#175a17',
    950: '#000000',
  },
}
SCSS
$custom: #175a17;
$custom-light: #608958;
$custom-dark: #000000;
JSON
{
  "hex": "#175a17",
  "rgb": {
    "r": 23,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41117,
    "c": 0.11936,
    "h": 143
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

primary
#175A17
secondary
#913C91
accent
#45E2E2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #175A17

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

Preview Lab → · Contrast checker → · Palette generator →

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