#175A2B#175A2B

#175A2B is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.101 H 149.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#175A2B
RGBrgb(23, 90, 43)
HSLhsl(138, 59%, 22%)
HSVhsv(138, 74%, 35%)
CMYKcmyk(74.4%, 0%, 52.2%, 64.7%)
CIE-LABlab(33.28, -32.28, 21.19)
CIE-LCHlch(33.28, 38.61, 146.72°)
OKLaboklab(41.4% -0.0869 0.0516)
OKLCHoklch(41.4% 0.101 149.3)
XYZxyz(4.4452, 7.6684, 3.5309)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175A2B #5A1746
analogous
#255A17 #175A2B #175A4C
triadic
#175A2B #2B175A #5A2B17
tetradic
#175A2B #17255A #5A1746 #5A4C17
square
#175A2B #17255A #5A1746 #5A4C17
split-complementary
#175A2B #4C175A #5A1725
monochromatic
#06180C #0B2914 #175A2B #238B42 #30BB5A

Accessibility & contrast

On white

8.29
#175A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #175A2B
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175A2B#FFFFFF#000000##FFFFFF
##175A2B1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5227
Deuteranopia (green-blind)
#534C2E
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #175a2b;
/* rgb */ color: rgb(23, 90, 43);
/* oklch */ color: oklch(41.4% 0.101 149.3);
Tailwind
colors: {
  custom: {
    50: '#5e8965',
    500: '#175a2b',
    950: '#000000',
  },
}
SCSS
$custom: #175a2b;
$custom-light: #5e8965;
$custom-dark: #000000;
JSON
{
  "hex": "#175a2b",
  "rgb": {
    "r": 23,
    "g": 90,
    "b": 43
  },
  "hsl": {
    "h": 137.91,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41396,
    "c": 0.1011,
    "h": 149.3
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#175A2B
secondary
#913C78
accent
#45B4E2
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #175A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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