#175C28#175C28

#175C28 is a dark, moderate green. Relative luminance 0.080; OKLCH L 41.9% C 0.107 H 147.8°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#175C28
RGBrgb(23, 92, 40)
HSLhsl(135, 60%, 23%)
HSVhsv(135, 75%, 36%)
CMYKcmyk(75%, 0%, 56.5%, 63.9%)
CIE-LABlab(33.96, -33.62, 23.73)
CIE-LCHlch(33.96, 41.15, 144.79°)
OKLaboklab(41.94% -0.0906 0.0571)
OKLCHoklch(41.94% 0.107 147.8)
XYZxyz(4.5632, 7.9891, 3.3086)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175C28 #5C174B
analogous
#285C17 #175C28 #175C4B
triadic
#175C28 #28175C #5C2817
tetradic
#175C28 #17285C #5C174B #5C4B17
square
#175C28 #17285C #5C174B #5C4B17
split-complementary
#175C28 #4B175C #5C1728
monochromatic
#06180B #0B2B13 #175C28 #238D3D #2FBE53

Accessibility & contrast

On white

8.08
#175C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #175C28
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175C28#FFFFFF#000000##FFFFFF
##175C281.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #175c28;
/* rgb */ color: rgb(23, 92, 40);
/* oklch */ color: oklch(41.9% 0.107 147.8);
Tailwind
colors: {
  custom: {
    50: '#5f8b63',
    500: '#175c28',
    950: '#000000',
  },
}
SCSS
$custom: #175c28;
$custom-light: #5f8b63;
$custom-dark: #000000;
JSON
{
  "hex": "#175c28",
  "rgb": {
    "r": 23,
    "g": 92,
    "b": 40
  },
  "hsl": {
    "h": 134.783,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41942,
    "c": 0.10708,
    "h": 147.8
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#175C28
secondary
#933C7D
accent
#45BCE3
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #175C28

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

Preview Lab → · Contrast checker → · Palette generator →

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