#175D31#175D31

#175D31 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.099 H 151.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#175D31
RGBrgb(23, 93, 49)
HSLhsl(142, 60%, 23%)
HSVhsv(142, 75%, 36%)
CMYKcmyk(75.3%, 0%, 47.3%, 63.5%)
CIE-LABlab(34.46, -32.41, 19.21)
CIE-LCHlch(34.46, 37.68, 149.34°)
OKLaboklab(42.4% -0.0873 0.0473)
OKLCHoklch(42.4% 0.099 151.5)
XYZxyz(4.8217, 8.2321, 4.2400)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175D31 #5D1743
analogous
#205D17 #175D31 #175D54
triadic
#175D31 #31175D #5D3117
tetradic
#175D31 #17205D #5D1743 #5D5417
square
#175D31 #17205D #5D1743 #5D5417
split-complementary
#175D31 #54175D #5D1720
monochromatic
#06190D #0B2C17 #175D31 #238E4B #2FBF65

Accessibility & contrast

On white

7.93
#175D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#175D31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175D31
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175D31#FFFFFF#000000##FFFFFF
##175D311.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D552E
Deuteranopia (green-blind)
#554F34
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #175d31;
/* rgb */ color: rgb(23, 93, 49);
/* oklch */ color: oklch(42.4% 0.099 151.5);
Tailwind
colors: {
  custom: {
    50: '#5f8c6a',
    500: '#175d31',
    950: '#000000',
  },
}
SCSS
$custom: #175d31;
$custom-light: #5f8c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#175d31",
  "rgb": {
    "r": 23,
    "g": 93,
    "b": 49
  },
  "hsl": {
    "h": 142.286,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42402,
    "c": 0.09932,
    "h": 151.5
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

primary
#175D31
secondary
#943C73
accent
#44A8E3
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #175D31

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

Preview Lab → · Contrast checker → · Palette generator →

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