#175A38#175A38

#175A38 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.087 H 156.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#175A38
RGBrgb(23, 90, 56)
HSLhsl(150, 59%, 22%)
HSVhsv(150, 74%, 35%)
CMYKcmyk(74.4%, 0%, 37.8%, 64.7%)
CIE-LABlab(33.52, -29.63, 13.79)
CIE-LCHlch(33.52, 32.68, 155.04°)
OKLaboklab(41.67% -0.0803 0.0347)
OKLCHoklch(41.67% 0.087 156.6)
XYZxyz(4.7229, 7.7795, 4.9933)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175A38 #5A1739
analogous
#185A17 #175A38 #175A5A
triadic
#175A38 #38175A #5A3817
tetradic
#175A38 #17185A #5A1739 #5A5A17
square
#175A38 #17185A #5A1739 #5A5A17
split-complementary
#175A38 #5A175A #5A1718
monochromatic
#06180F #0B291A #175A38 #238B56 #30BB75

Accessibility & contrast

On white

8.22
#175A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#175A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175A38
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175A38#FFFFFF#000000##FFFFFF
##175A381.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595236
Deuteranopia (green-blind)
#514C3A
Tritanopia (blue-blind)
#005951
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #175a38;
/* rgb */ color: rgb(23, 90, 56);
/* oklch */ color: oklch(41.7% 0.087 156.6);
Tailwind
colors: {
  custom: {
    50: '#5e896f',
    500: '#175a38',
    950: '#000000',
  },
}
SCSS
$custom: #175a38;
$custom-light: #5e896f;
$custom-dark: #000000;
JSON
{
  "hex": "#175a38",
  "rgb": {
    "r": 23,
    "g": 90,
    "b": 56
  },
  "hsl": {
    "h": 149.552,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41669,
    "c": 0.08744,
    "h": 156.6
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#175A38
secondary
#913C67
accent
#4595E2
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050B07
muted
#797C7A

Preview Lab

Preview with #175A38

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

Preview Lab → · Contrast checker → · Palette generator →

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