#175A21#175A21

#175A21 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.111 H 145.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#175A21
RGBrgb(23, 90, 33)
HSLhsl(129, 59%, 22%)
HSVhsv(129, 74%, 35%)
CMYKcmyk(74.4%, 0%, 63.3%, 64.7%)
CIE-LABlab(33.14, -33.89, 26.55)
CIE-LCHlch(33.14, 43.05, 141.93°)
OKLaboklab(41.24% -0.0915 0.0627)
OKLCHoklch(41.24% 0.111 145.6)
XYZxyz(4.2837, 7.6038, 2.6805)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175A21 #5A1750
analogous
#2F5A17 #175A21 #175A43
triadic
#175A21 #21175A #5A2117
tetradic
#175A21 #172F5A #5A1750 #5A4317
square
#175A21 #172F5A #5A1750 #5A4317
split-complementary
#175A21 #43175A #5A172F
monochromatic
#061809 #0B290F #175A21 #238B33 #30BB45

Accessibility & contrast

On white

8.33
#175A21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#175A21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175A21
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175A21#FFFFFF#000000##FFFFFF
##175A211.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511B
Deuteranopia (green-blind)
#544C26
Tritanopia (blue-blind)
#01584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #175a21;
/* rgb */ color: rgb(23, 90, 33);
/* oklch */ color: oklch(41.2% 0.111 145.6);
Tailwind
colors: {
  custom: {
    50: '#5f895e',
    500: '#175a21',
    950: '#000000',
  },
}
SCSS
$custom: #175a21;
$custom-light: #5f895e;
$custom-dark: #000000;
JSON
{
  "hex": "#175a21",
  "rgb": {
    "r": 23,
    "g": 90,
    "b": 33
  },
  "hsl": {
    "h": 128.955,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41236,
    "c": 0.11096,
    "h": 145.6
  },
  "luminance": 0.07604
}

Semantic roles & 50–950 ramp

primary
#175A21
secondary
#913C84
accent
#45CBE2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #175A21

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

Preview Lab → · Contrast checker → · Palette generator →

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