#175A1B#175A1B

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

Color values

HEX#175A1B
RGBrgb(23, 90, 27)
HSLhsl(124, 59%, 22%)
HSVhsv(124, 74%, 35%)
CMYKcmyk(74.4%, 0%, 70%, 64.7%)
CIE-LABlab(33.08, -34.67, 29.52)
CIE-LCHlch(33.08, 45.54, 139.59°)
OKLaboklab(41.16% -0.0939 0.0685)
OKLCHoklch(41.16% 0.116 143.9)
XYZxyz(4.2071, 7.5732, 2.2767)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175A1B #5A1756
analogous
#355A17 #175A1B #175A3D
triadic
#175A1B #1B175A #5A1B17
tetradic
#175A1B #17355A #5A1756 #5A3D17
square
#175A1B #17355A #5A1756 #5A3D17
split-complementary
#175A1B #3D175A #5A1735
monochromatic
#061807 #0B290C #175A1B #238B2A #30BB38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##175A1B#FFFFFF#000000##FFFFFF
##175A1B1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #175a1b;
/* rgb */ color: rgb(23, 90, 27);
/* oklch */ color: oklch(41.2% 0.116 143.9);
Tailwind
colors: {
  custom: {
    50: '#5f895a',
    500: '#175a1b',
    950: '#000000',
  },
}
SCSS
$custom: #175a1b;
$custom-light: #5f895a;
$custom-dark: #000000;
JSON
{
  "hex": "#175a1b",
  "rgb": {
    "r": 23,
    "g": 90,
    "b": 27
  },
  "hsl": {
    "h": 123.582,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4116,
    "c": 0.11622,
    "h": 143.9
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#175A1B
secondary
#913C8C
accent
#45D9E2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #175A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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