#175A2C#175A2C

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

Color values

HEX#175A2C
RGBrgb(23, 90, 44)
HSLhsl(139, 59%, 22%)
HSVhsv(139, 74%, 35%)
CMYKcmyk(74.4%, 0%, 51.1%, 64.7%)
CIE-LABlab(33.30, -32.10, 20.64)
CIE-LCHlch(33.30, 38.16, 147.26°)
OKLaboklab(41.41% -0.0864 0.0504)
OKLCHoklch(41.41% 0.1 149.8)
XYZxyz(4.4638, 7.6758, 3.6287)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175A2C #5A1745
analogous
#245A17 #175A2C #175A4E
triadic
#175A2C #2C175A #5A2C17
tetradic
#175A2C #17245A #5A1745 #5A4E17
square
#175A2C #17245A #5A1745 #5A4E17
split-complementary
#175A2C #4E175A #5A1724
monochromatic
#06180C #0B2914 #175A2C #238B44 #30BB5C

Accessibility & contrast

On white

8.28
#175A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #175A2C
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175A2C#FFFFFF#000000##FFFFFF
##175A2C1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5228
Deuteranopia (green-blind)
#524C2F
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #175a2c;
/* rgb */ color: rgb(23, 90, 44);
/* oklch */ color: oklch(41.4% 0.100 149.8);
Tailwind
colors: {
  custom: {
    50: '#5e8966',
    500: '#175a2c',
    950: '#000000',
  },
}
SCSS
$custom: #175a2c;
$custom-light: #5e8966;
$custom-dark: #000000;
JSON
{
  "hex": "#175a2c",
  "rgb": {
    "r": 23,
    "g": 90,
    "b": 44
  },
  "hsl": {
    "h": 138.806,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41414,
    "c": 0.10006,
    "h": 149.8
  },
  "luminance": 0.07676
}

Semantic roles & 50–950 ramp

primary
#175A2C
secondary
#913C76
accent
#45B1E2
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #175A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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