#175C2F#175C2F

#175C2F is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.100 H 150.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#175C2F
RGBrgb(23, 92, 47)
HSLhsl(141, 60%, 23%)
HSVhsv(141, 75%, 36%)
CMYKcmyk(75%, 0%, 48.9%, 63.9%)
CIE-LABlab(34.07, -32.38, 19.88)
CIE-LCHlch(34.07, 37.99, 148.46°)
OKLaboklab(42.07% -0.0872 0.0488)
OKLCHoklch(42.07% 0.1 150.8)
XYZxyz(4.6932, 8.0412, 3.9935)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175C2F #5C1744
analogous
#215C17 #175C2F #175C52
triadic
#175C2F #2F175C #5C2F17
tetradic
#175C2F #17215C #5C1744 #5C5217
square
#175C2F #17215C #5C1744 #5C5217
split-complementary
#175C2F #52175C #5C1721
monochromatic
#06180D #0B2B16 #175C2F #238D48 #2FBE61

Accessibility & contrast

On white

8.05
#175C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#175C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175C2F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175C2F#FFFFFF#000000##FFFFFF
##175C2F1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C542C
Deuteranopia (green-blind)
#544E32
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #175c2f;
/* rgb */ color: rgb(23, 92, 47);
/* oklch */ color: oklch(42.1% 0.100 150.8);
Tailwind
colors: {
  custom: {
    50: '#5f8b68',
    500: '#175c2f',
    950: '#000000',
  },
}
SCSS
$custom: #175c2f;
$custom-light: #5f8b68;
$custom-dark: #000000;
JSON
{
  "hex": "#175c2f",
  "rgb": {
    "r": 23,
    "g": 92,
    "b": 47
  },
  "hsl": {
    "h": 140.87,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42066,
    "c": 0.09992,
    "h": 150.8
  },
  "luminance": 0.08042
}

Semantic roles & 50–950 ramp

primary
#175C2F
secondary
#933C75
accent
#45ACE3
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #175C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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