#175C27#175C27

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

Color values

HEX#175C27
RGBrgb(23, 92, 39)
HSLhsl(134, 60%, 23%)
HSVhsv(134, 75%, 36%)
CMYKcmyk(75%, 0%, 57.6%, 63.9%)
CIE-LABlab(33.95, -33.78, 24.26)
CIE-LCHlch(33.95, 41.59, 144.31°)
OKLaboklab(41.93% -0.091 0.0582)
OKLCHoklch(41.93% 0.108 147.4)
XYZxyz(4.5464, 7.9824, 3.2202)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175C27 #5C174C
analogous
#2A5C17 #175C27 #175C49
triadic
#175C27 #27175C #5C2717
tetradic
#175C27 #172A5C #5C174C #5C4917
square
#175C27 #172A5C #5C174C #5C4917
split-complementary
#175C27 #49175C #5C172A
monochromatic
#06180A #0B2B12 #175C27 #238D3C #2FBE51

Accessibility & contrast

On white

8.09
#175C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #175C27
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175C27#FFFFFF#000000##FFFFFF
##175C271.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #175c27;
/* rgb */ color: rgb(23, 92, 39);
/* oklch */ color: oklch(41.9% 0.108 147.4);
Tailwind
colors: {
  custom: {
    50: '#5f8b62',
    500: '#175c27',
    950: '#000000',
  },
}
SCSS
$custom: #175c27;
$custom-light: #5f8b62;
$custom-dark: #000000;
JSON
{
  "hex": "#175c27",
  "rgb": {
    "r": 23,
    "g": 92,
    "b": 39
  },
  "hsl": {
    "h": 133.913,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41925,
    "c": 0.10807,
    "h": 147.4
  },
  "luminance": 0.07983
}

Semantic roles & 50–950 ramp

primary
#175C27
secondary
#933C7F
accent
#45BEE3
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #175C27

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

Preview Lab → · Contrast checker → · Palette generator →

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