#175C21#175C21

#175C21 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.114 H 145.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#175C21
RGBrgb(23, 92, 33)
HSLhsl(129, 60%, 23%)
HSVhsv(129, 75%, 36%)
CMYKcmyk(75%, 0%, 64.1%, 63.9%)
CIE-LABlab(33.87, -34.68, 27.39)
CIE-LCHlch(33.87, 44.20, 141.70°)
OKLaboklab(41.84% -0.0937 0.0646)
OKLCHoklch(41.84% 0.114 145.4)
XYZxyz(4.4547, 7.9458, 2.7375)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175C21 #5C1752
analogous
#2F5C17 #175C21 #175C44
triadic
#175C21 #21175C #5C2117
tetradic
#175C21 #172F5C #5C1752 #5C4417
square
#175C21 #172F5C #5C1752 #5C4417
split-complementary
#175C21 #44175C #5C172F
monochromatic
#061809 #0B2B0F #175C21 #238D33 #2FBE44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##175C21#FFFFFF#000000##FFFFFF
##175C211.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)
#5E531B
Deuteranopia (green-blind)
#554D26
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #175c21;
/* rgb */ color: rgb(23, 92, 33);
/* oklch */ color: oklch(41.8% 0.114 145.4);
Tailwind
colors: {
  custom: {
    50: '#5f8b5e',
    500: '#175c21',
    950: '#000000',
  },
}
SCSS
$custom: #175c21;
$custom-light: #5f8b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#175c21",
  "rgb": {
    "r": 23,
    "g": 92,
    "b": 33
  },
  "hsl": {
    "h": 128.696,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41837,
    "c": 0.11376,
    "h": 145.4
  },
  "luminance": 0.07946
}

Semantic roles & 50–950 ramp

primary
#175C21
secondary
#933C86
accent
#45CCE3
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #175C21

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

Preview Lab → · Contrast checker → · Palette generator →

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