#175D21#175D21

#175D21 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.115 H 145.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#175D21
RGBrgb(23, 93, 33)
HSLhsl(129, 60%, 23%)
HSVhsv(129, 75%, 36%)
CMYKcmyk(75.3%, 0%, 64.5%, 63.5%)
CIE-LABlab(34.23, -35.08, 27.81)
CIE-LCHlch(34.23, 44.76, 141.59°)
OKLaboklab(42.14% -0.0947 0.0655)
OKLCHoklch(42.14% 0.115 145.4)
XYZxyz(4.5419, 8.1202, 2.7665)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175D21 #5D1753
analogous
#305D17 #175D21 #175D44
triadic
#175D21 #21175D #5D2117
tetradic
#175D21 #17305D #5D1753 #5D4417
square
#175D21 #17305D #5D1753 #5D4417
split-complementary
#175D21 #44175D #5D1730
monochromatic
#061909 #0B2C10 #175D21 #238E32 #2FBF44

Accessibility & contrast

On white

8.00
#175D21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#175D21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175D21
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175D21#FFFFFF#000000##FFFFFF
##175D211.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F541B
Deuteranopia (green-blind)
#564E26
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #175d21;
/* rgb */ color: rgb(23, 93, 33);
/* oklch */ color: oklch(42.1% 0.115 145.4);
Tailwind
colors: {
  custom: {
    50: '#608c5f',
    500: '#175d21',
    950: '#000000',
  },
}
SCSS
$custom: #175d21;
$custom-light: #608c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#175d21",
  "rgb": {
    "r": 23,
    "g": 93,
    "b": 33
  },
  "hsl": {
    "h": 128.571,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42137,
    "c": 0.11515,
    "h": 145.4
  },
  "luminance": 0.08121
}

Semantic roles & 50–950 ramp

primary
#175D21
secondary
#943C87
accent
#44CDE3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #175D21

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

Preview Lab → · Contrast checker → · Palette generator →

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