#175817#175817

#175817 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.117 H 143.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#175817
RGBrgb(23, 88, 23)
HSLhsl(120, 59%, 22%)
HSVhsv(120, 74%, 35%)
CMYKcmyk(73.9%, 0%, 73.9%, 65.5%)
CIE-LABlab(32.31, -34.35, 30.57)
CIE-LCHlch(32.31, 45.98, 138.33°)
OKLaboklab(40.51% -0.0933 0.0702)
OKLCHoklch(40.51% 0.117 143)
XYZxyz(3.9975, 7.2230, 1.9940)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175817 #581758
analogous
#385817 #175817 #175838
triadic
#175817 #171758 #581717
tetradic
#175817 #173858 #581758 #583817
square
#175817 #173858 #581758 #583817
split-complementary
#175817 #381758 #581738
monochromatic
#061806 #0A270A #175817 #248924 #30B930

Accessibility & contrast

On white

8.59
#175817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#175817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175817
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175817#FFFFFF#000000##FFFFFF
##1758171.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0E
Deuteranopia (green-blind)
#524A1D
Tritanopia (blue-blind)
#06554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #175817;
/* rgb */ color: rgb(23, 88, 23);
/* oklch */ color: oklch(40.5% 0.117 143.0);
Tailwind
colors: {
  custom: {
    50: '#5f8858',
    500: '#175817',
    950: '#000000',
  },
}
SCSS
$custom: #175817;
$custom-light: #5f8858;
$custom-dark: #000000;
JSON
{
  "hex": "#175817",
  "rgb": {
    "r": 23,
    "g": 88,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40512,
    "c": 0.11671,
    "h": 143
  },
  "luminance": 0.07223
}

Semantic roles & 50–950 ramp

primary
#175817
secondary
#8F3C8F
accent
#46E2E2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #175817

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

Preview Lab → · Contrast checker → · Palette generator →

#175817 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva