#175C2D#175C2D

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

Color values

HEX#175C2D
RGBrgb(23, 92, 45)
HSLhsl(139, 60%, 23%)
HSVhsv(139, 75%, 36%)
CMYKcmyk(75%, 0%, 51.1%, 63.9%)
CIE-LABlab(34.04, -32.75, 20.99)
CIE-LCHlch(34.04, 38.90, 147.34°)
OKLaboklab(42.03% -0.0882 0.0512)
OKLCHoklch(42.03% 0.102 149.8)
XYZxyz(4.6538, 8.0254, 3.7859)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175C2D #5C1746
analogous
#245C17 #175C2D #175C4F
triadic
#175C2D #2D175C #5C2D17
tetradic
#175C2D #17245C #5C1746 #5C4F17
square
#175C2D #17245C #5C1746 #5C4F17
split-complementary
#175C2D #4F175C #5C1724
monochromatic
#06180C #0B2B15 #175C2D #238D45 #2FBE5D

Accessibility & contrast

On white

8.06
#175C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #175C2D
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175C2D#FFFFFF#000000##FFFFFF
##175C2D1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #175c2d;
/* rgb */ color: rgb(23, 92, 45);
/* oklch */ color: oklch(42.0% 0.102 149.8);
Tailwind
colors: {
  custom: {
    50: '#5f8b67',
    500: '#175c2d',
    950: '#000000',
  },
}
SCSS
$custom: #175c2d;
$custom-light: #5f8b67;
$custom-dark: #000000;
JSON
{
  "hex": "#175c2d",
  "rgb": {
    "r": 23,
    "g": 92,
    "b": 45
  },
  "hsl": {
    "h": 139.13,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42028,
    "c": 0.102,
    "h": 149.8
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#175C2D
secondary
#933C77
accent
#45B1E3
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #175C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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