#175A28#175A28

#175A28 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.104 H 148.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#175A28
RGBrgb(23, 90, 40)
HSLhsl(135, 59%, 22%)
HSVhsv(135, 74%, 35%)
CMYKcmyk(74.4%, 0%, 55.6%, 64.7%)
CIE-LABlab(33.24, -32.80, 22.84)
CIE-LCHlch(33.24, 39.97, 145.15°)
OKLaboklab(41.34% -0.0884 0.0551)
OKLCHoklch(41.34% 0.104 148)
XYZxyz(4.3922, 7.6472, 3.2517)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175A28 #5A1749
analogous
#285A17 #175A28 #175A4A
triadic
#175A28 #28175A #5A2817
tetradic
#175A28 #17285A #5A1749 #5A4A17
square
#175A28 #17285A #5A1749 #5A4A17
split-complementary
#175A28 #4A175A #5A1728
monochromatic
#06180B #0B2912 #175A28 #238B3E #30BB53

Accessibility & contrast

On white

8.30
#175A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#175A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175A28
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175A28#FFFFFF#000000##FFFFFF
##175A281.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5224
Deuteranopia (green-blind)
#534C2C
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #175a28;
/* rgb */ color: rgb(23, 90, 40);
/* oklch */ color: oklch(41.3% 0.104 148.0);
Tailwind
colors: {
  custom: {
    50: '#5f8963',
    500: '#175a28',
    950: '#000000',
  },
}
SCSS
$custom: #175a28;
$custom-light: #5f8963;
$custom-dark: #000000;
JSON
{
  "hex": "#175a28",
  "rgb": {
    "r": 23,
    "g": 90,
    "b": 40
  },
  "hsl": {
    "h": 135.224,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41344,
    "c": 0.10416,
    "h": 148
  },
  "luminance": 0.07648
}

Semantic roles & 50–950 ramp

primary
#175A28
secondary
#913C7B
accent
#45BBE2
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #175A28

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

Preview Lab → · Contrast checker → · Palette generator →

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