#175B2A#175B2A

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

Color values

HEX#175B2A
RGBrgb(23, 91, 42)
HSLhsl(137, 60%, 22%)
HSVhsv(137, 75%, 36%)
CMYKcmyk(74.7%, 0%, 53.8%, 64.3%)
CIE-LABlab(33.63, -32.87, 22.19)
CIE-LCHlch(33.63, 39.66, 145.97°)
OKLaboklab(41.68% -0.0885 0.0538)
OKLCHoklch(41.68% 0.104 148.7)
XYZxyz(4.5120, 7.8310, 3.4638)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175B2A #5B1748
analogous
#265B17 #175B2A #175B4C
triadic
#175B2A #2A175B #5B2A17
tetradic
#175B2A #17265B #5B1748 #5B4C17
square
#175B2A #17265B #5B1748 #5B4C17
split-complementary
#175B2A #4C175B #5B1726
monochromatic
#06180B #0B2A13 #175B2A #238C41 #30BD57

Accessibility & contrast

On white

8.18
#175B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #175B2A
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175B2A#FFFFFF#000000##FFFFFF
##175B2A1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5326
Deuteranopia (green-blind)
#544D2E
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #175b2a;
/* rgb */ color: rgb(23, 91, 42);
/* oklch */ color: oklch(41.7% 0.104 148.7);
Tailwind
colors: {
  custom: {
    50: '#5f8a64',
    500: '#175b2a',
    950: '#000000',
  },
}
SCSS
$custom: #175b2a;
$custom-light: #5f8a64;
$custom-dark: #000000;
JSON
{
  "hex": "#175b2a",
  "rgb": {
    "r": 23,
    "g": 91,
    "b": 42
  },
  "hsl": {
    "h": 136.765,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41677,
    "c": 0.10361,
    "h": 148.7
  },
  "luminance": 0.07831
}

Semantic roles & 50–950 ramp

primary
#175B2A
secondary
#923C7A
accent
#45B7E3
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #175B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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