#175B38#175B38

#175B38 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.089 H 156.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#175B38
RGBrgb(23, 91, 56)
HSLhsl(149, 60%, 22%)
HSVhsv(149, 75%, 36%)
CMYKcmyk(74.7%, 0%, 38.5%, 64.3%)
CIE-LABlab(33.88, -30.07, 14.27)
CIE-LCHlch(33.88, 33.29, 154.61°)
OKLaboklab(41.96% -0.0814 0.0359)
OKLCHoklch(41.96% 0.089 156.2)
XYZxyz(4.8078, 7.9493, 5.0216)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175B38 #5B173A
analogous
#185B17 #175B38 #175B5A
triadic
#175B38 #38175B #5B3817
tetradic
#175B38 #17185B #5B173A #5B5A17
square
#175B38 #17185B #5B173A #5B5A17
split-complementary
#175B38 #5A175B #5B1718
monochromatic
#06180F #0B2A1A #175B38 #238C56 #30BD74

Accessibility & contrast

On white

8.11
#175B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#175B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175B38
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175B38#FFFFFF#000000##FFFFFF
##175B381.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5336
Deuteranopia (green-blind)
#524D3A
Tritanopia (blue-blind)
#005A52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #175b38;
/* rgb */ color: rgb(23, 91, 56);
/* oklch */ color: oklch(42.0% 0.089 156.2);
Tailwind
colors: {
  custom: {
    50: '#5e8a6f',
    500: '#175b38',
    950: '#000000',
  },
}
SCSS
$custom: #175b38;
$custom-light: #5e8a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#175b38",
  "rgb": {
    "r": 23,
    "g": 91,
    "b": 56
  },
  "hsl": {
    "h": 149.118,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41963,
    "c": 0.08896,
    "h": 156.2
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#175B38
secondary
#923C68
accent
#4596E3
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #175B38

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

Preview Lab → · Contrast checker → · Palette generator →

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