#175A2D#175A2D

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

Color values

HEX#175A2D
RGBrgb(23, 90, 45)
HSLhsl(140, 59%, 22%)
HSVhsv(140, 74%, 35%)
CMYKcmyk(74.4%, 0%, 50%, 64.7%)
CIE-LABlab(33.31, -31.91, 20.08)
CIE-LCHlch(33.31, 37.70, 147.83°)
OKLaboklab(41.43% -0.086 0.0492)
OKLCHoklch(41.43% 0.099 150.2)
XYZxyz(4.4828, 7.6835, 3.7289)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175A2D #5A1744
analogous
#235A17 #175A2D #175A4E
triadic
#175A2D #2D175A #5A2D17
tetradic
#175A2D #17235A #5A1744 #5A4E17
square
#175A2D #17235A #5A1744 #5A4E17
split-complementary
#175A2D #4E175A #5A1723
monochromatic
#06180C #0B2915 #175A2D #238B45 #30BB5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##175A2D#FFFFFF#000000##FFFFFF
##175A2D1.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)
#5B5229
Deuteranopia (green-blind)
#524C30
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #175a2d;
/* rgb */ color: rgb(23, 90, 45);
/* oklch */ color: oklch(41.4% 0.099 150.2);
Tailwind
colors: {
  custom: {
    50: '#5e8966',
    500: '#175a2d',
    950: '#000000',
  },
}
SCSS
$custom: #175a2d;
$custom-light: #5e8966;
$custom-dark: #000000;
JSON
{
  "hex": "#175a2d",
  "rgb": {
    "r": 23,
    "g": 90,
    "b": 45
  },
  "hsl": {
    "h": 139.701,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41433,
    "c": 0.09902,
    "h": 150.2
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#175A2D
secondary
#913C75
accent
#45AFE2
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #175A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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