#175B1F#175B1F

#175B1F is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.5% C 0.114 H 144.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#175B1F
RGBrgb(23, 91, 31)
HSLhsl(127, 60%, 22%)
HSVhsv(127, 75%, 36%)
CMYKcmyk(74.7%, 0%, 65.9%, 64.3%)
CIE-LABlab(33.48, -34.56, 27.98)
CIE-LCHlch(33.48, 44.47, 141.01°)
OKLaboklab(41.51% -0.0934 0.0656)
OKLCHoklch(41.51% 0.114 144.9)
XYZxyz(4.3415, 7.7628, 2.5656)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175B1F #5B1753
analogous
#315B17 #175B1F #175B41
triadic
#175B1F #1F175B #5B1F17
tetradic
#175B1F #17315B #5B1753 #5B4117
square
#175B1F #17315B #5B1753 #5B4117
split-complementary
#175B1F #41175B #5B1731
monochromatic
#061808 #0B2A0E #175B1F #238C30 #30BD40

Accessibility & contrast

On white

8.23
#175B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#175B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175B1F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175B1F#FFFFFF#000000##FFFFFF
##175B1F1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5218
Deuteranopia (green-blind)
#554D24
Tritanopia (blue-blind)
#01584E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #175b1f;
/* rgb */ color: rgb(23, 91, 31);
/* oklch */ color: oklch(41.5% 0.114 144.9);
Tailwind
colors: {
  custom: {
    50: '#5f8a5d',
    500: '#175b1f',
    950: '#000000',
  },
}
SCSS
$custom: #175b1f;
$custom-light: #5f8a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#175b1f",
  "rgb": {
    "r": 23,
    "g": 91,
    "b": 31
  },
  "hsl": {
    "h": 127.059,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4151,
    "c": 0.11416,
    "h": 144.9
  },
  "luminance": 0.07763
}

Semantic roles & 50–950 ramp

primary
#175B1F
secondary
#923C88
accent
#45D0E3
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #175B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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