#175A31#175A31

#175A31 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.095 H 152.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#175A31
RGBrgb(23, 90, 49)
HSLhsl(143, 59%, 22%)
HSVhsv(143, 74%, 35%)
CMYKcmyk(74.4%, 0%, 45.6%, 64.7%)
CIE-LABlab(33.38, -31.13, 17.82)
CIE-LCHlch(33.38, 35.87, 150.22°)
OKLaboklab(41.51% -0.0839 0.0441)
OKLCHoklch(41.51% 0.095 152.3)
XYZxyz(4.5635, 7.7157, 4.1539)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175A31 #5A1740
analogous
#1E5A17 #175A31 #175A53
triadic
#175A31 #31175A #5A3117
tetradic
#175A31 #171E5A #5A1740 #5A5317
square
#175A31 #171E5A #5A1740 #5A5317
split-complementary
#175A31 #53175A #5A171E
monochromatic
#06180D #0B2916 #175A31 #238B4C #30BB66

Accessibility & contrast

On white

8.26
#175A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#175A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175A31
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175A31#FFFFFF#000000##FFFFFF
##175A311.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522E
Deuteranopia (green-blind)
#524C34
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #175a31;
/* rgb */ color: rgb(23, 90, 49);
/* oklch */ color: oklch(41.5% 0.095 152.3);
Tailwind
colors: {
  custom: {
    50: '#5e8969',
    500: '#175a31',
    950: '#000000',
  },
}
SCSS
$custom: #175a31;
$custom-light: #5e8969;
$custom-dark: #000000;
JSON
{
  "hex": "#175a31",
  "rgb": {
    "r": 23,
    "g": 90,
    "b": 49
  },
  "hsl": {
    "h": 143.284,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41513,
    "c": 0.09481,
    "h": 152.3
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#175A31
secondary
#913C70
accent
#45A5E2
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #175A31

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

Preview Lab → · Contrast checker → · Palette generator →

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