#175B2C#175B2C

#175B2C is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.102 H 149.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#175B2C
RGBrgb(23, 91, 44)
HSLhsl(139, 60%, 22%)
HSVhsv(139, 75%, 36%)
CMYKcmyk(74.7%, 0%, 51.6%, 64.3%)
CIE-LABlab(33.66, -32.52, 21.09)
CIE-LCHlch(33.66, 38.76, 147.03°)
OKLaboklab(41.71% -0.0876 0.0514)
OKLCHoklch(41.71% 0.102 149.6)
XYZxyz(4.5487, 7.8457, 3.6570)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175B2C #5B1746
analogous
#245B17 #175B2C #175B4E
triadic
#175B2C #2C175B #5B2C17
tetradic
#175B2C #17245B #5B1746 #5B4E17
square
#175B2C #17245B #5B1746 #5B4E17
split-complementary
#175B2C #4E175B #5B1724
monochromatic
#06180C #0B2A14 #175B2C #238C44 #30BD5B

Accessibility & contrast

On white

8.17
#175B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#175B2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175B2C
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175B2C#FFFFFF#000000##FFFFFF
##175B2C1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5328
Deuteranopia (green-blind)
#534D2F
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #175b2c;
/* rgb */ color: rgb(23, 91, 44);
/* oklch */ color: oklch(41.7% 0.102 149.6);
Tailwind
colors: {
  custom: {
    50: '#5f8a66',
    500: '#175b2c',
    950: '#000000',
  },
}
SCSS
$custom: #175b2c;
$custom-light: #5f8a66;
$custom-dark: #000000;
JSON
{
  "hex": "#175b2c",
  "rgb": {
    "r": 23,
    "g": 91,
    "b": 44
  },
  "hsl": {
    "h": 138.529,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41713,
    "c": 0.10155,
    "h": 149.6
  },
  "luminance": 0.07846
}

Semantic roles & 50–950 ramp

primary
#175B2C
secondary
#923C77
accent
#45B2E3
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #175B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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