#175C22#175C22

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

Color values

HEX#175C22
RGBrgb(23, 92, 34)
HSLhsl(130, 60%, 23%)
HSVhsv(130, 75%, 36%)
CMYKcmyk(75%, 0%, 63%, 63.9%)
CIE-LABlab(33.88, -34.54, 26.88)
CIE-LCHlch(33.88, 43.77, 142.11°)
OKLaboklab(41.85% -0.0932 0.0636)
OKLCHoklch(41.85% 0.113 145.7)
XYZxyz(4.4689, 7.9515, 2.8123)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175C22 #5C1751
analogous
#2F5C17 #175C22 #175C44
triadic
#175C22 #22175C #5C2217
tetradic
#175C22 #172F5C #5C1751 #5C4417
square
#175C22 #172F5C #5C1751 #5C4417
split-complementary
#175C22 #44175C #5C172F
monochromatic
#061809 #0B2B10 #175C22 #238D34 #2FBE46

Accessibility & contrast

On white

8.11
#175C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#175C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175C22
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175C22#FFFFFF#000000##FFFFFF
##175C221.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D531C
Deuteranopia (green-blind)
#554D27
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #175c22;
/* rgb */ color: rgb(23, 92, 34);
/* oklch */ color: oklch(41.9% 0.113 145.7);
Tailwind
colors: {
  custom: {
    50: '#5f8b5f',
    500: '#175c22',
    950: '#000000',
  },
}
SCSS
$custom: #175c22;
$custom-light: #5f8b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#175c22",
  "rgb": {
    "r": 23,
    "g": 92,
    "b": 34
  },
  "hsl": {
    "h": 129.565,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41851,
    "c": 0.11285,
    "h": 145.7
  },
  "luminance": 0.07952
}

Semantic roles & 50–950 ramp

primary
#175C22
secondary
#933C85
accent
#45CAE3
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #175C22

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

Preview Lab → · Contrast checker → · Palette generator →

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