#175A18#175A18

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

Color values

HEX#175A18
RGBrgb(23, 90, 24)
HSLhsl(121, 59%, 22%)
HSVhsv(121, 74%, 35%)
CMYKcmyk(74.4%, 0%, 73.3%, 64.7%)
CIE-LABlab(33.05, -35.01, 30.91)
CIE-LCHlch(33.05, 46.70, 138.57°)
OKLaboklab(41.13% -0.095 0.071)
OKLCHoklch(41.13% 0.119 143.2)
XYZxyz(4.1741, 7.5600, 2.1032)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175A18 #5A1759
analogous
#375A17 #175A18 #175A3A
triadic
#175A18 #18175A #5A1817
tetradic
#175A18 #17375A #5A1759 #5A3A17
square
#175A18 #17375A #5A1759 #5A3A17
split-complementary
#175A18 #3A175A #5A1737
monochromatic
#061806 #0B290B #175A18 #238B25 #30BB32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##175A18#FFFFFF#000000##FFFFFF
##175A181.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)
#5C510F
Deuteranopia (green-blind)
#544C1E
Tritanopia (blue-blind)
#04574D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #175a18;
/* rgb */ color: rgb(23, 90, 24);
/* oklch */ color: oklch(41.1% 0.119 143.2);
Tailwind
colors: {
  custom: {
    50: '#5f8959',
    500: '#175a18',
    950: '#000000',
  },
}
SCSS
$custom: #175a18;
$custom-light: #5f8959;
$custom-dark: #000000;
JSON
{
  "hex": "#175a18",
  "rgb": {
    "r": 23,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 120.896,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41128,
    "c": 0.11861,
    "h": 143.2
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#175A18
secondary
#913C90
accent
#45E0E2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #175A18

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

Preview Lab → · Contrast checker → · Palette generator →

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