#175C2A#175C2A

#175C2A is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.105 H 148.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#175C2A
RGBrgb(23, 92, 42)
HSLhsl(137, 60%, 23%)
HSVhsv(137, 75%, 36%)
CMYKcmyk(75%, 0%, 54.3%, 63.9%)
CIE-LABlab(33.99, -33.28, 22.64)
CIE-LCHlch(33.99, 40.26, 145.77°)
OKLaboklab(41.98% -0.0896 0.0548)
OKLCHoklch(41.98% 0.105 148.6)
XYZxyz(4.5981, 8.0031, 3.4925)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175C2A #5C1749
analogous
#265C17 #175C2A #175C4D
triadic
#175C2A #2A175C #5C2A17
tetradic
#175C2A #17265C #5C1749 #5C4D17
square
#175C2A #17265C #5C1749 #5C4D17
split-complementary
#175C2A #4D175C #5C1726
monochromatic
#06180B #0B2B14 #175C2A #238D40 #2FBE57

Accessibility & contrast

On white

8.07
#175C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#175C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175C2A
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175C2A#FFFFFF#000000##FFFFFF
##175C2A1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5326
Deuteranopia (green-blind)
#554E2E
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #175c2a;
/* rgb */ color: rgb(23, 92, 42);
/* oklch */ color: oklch(42.0% 0.105 148.6);
Tailwind
colors: {
  custom: {
    50: '#5f8b64',
    500: '#175c2a',
    950: '#000000',
  },
}
SCSS
$custom: #175c2a;
$custom-light: #5f8b64;
$custom-dark: #000000;
JSON
{
  "hex": "#175c2a",
  "rgb": {
    "r": 23,
    "g": 92,
    "b": 42
  },
  "hsl": {
    "h": 136.522,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41975,
    "c": 0.10507,
    "h": 148.6
  },
  "luminance": 0.08004
}

Semantic roles & 50–950 ramp

primary
#175C2A
secondary
#933C7B
accent
#45B8E3
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #175C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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