#175317#175317

#175317 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.110 H 143.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#175317
RGBrgb(23, 83, 23)
HSLhsl(120, 57%, 21%)
HSVhsv(120, 72%, 33%)
CMYKcmyk(72.3%, 0%, 72.3%, 67.5%)
CIE-LABlab(30.47, -32.38, 28.60)
CIE-LCHlch(30.47, 43.20, 138.55°)
OKLaboklab(38.99% -0.0879 0.066)
OKLCHoklch(38.99% 0.11 143.1)
XYZxyz(3.6010, 6.4302, 1.8618)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175317 #531753
analogous
#355317 #175317 #175335
triadic
#175317 #171753 #531717
tetradic
#175317 #173553 #531753 #533517
square
#175317 #173553 #531753 #533517
split-complementary
#175317 #351753 #531735
monochromatic
#071807 #0A230A #175317 #248324 #32B332

Accessibility & contrast

On white

9.19
#175317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#175317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175317
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175317#FFFFFF#000000##FFFFFF
##1753171.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0F
Deuteranopia (green-blind)
#4E461C
Tritanopia (blue-blind)
#095047
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #175317;
/* rgb */ color: rgb(23, 83, 23);
/* oklch */ color: oklch(39.0% 0.110 143.1);
Tailwind
colors: {
  custom: {
    50: '#5e8457',
    500: '#175317',
    950: '#000000',
  },
}
SCSS
$custom: #175317;
$custom-light: #5e8457;
$custom-dark: #000000;
JSON
{
  "hex": "#175317",
  "rgb": {
    "r": 23,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3899,
    "c": 0.10995,
    "h": 143.1
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#175317
secondary
#8A3C8A
accent
#48E0E0
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #175317

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

Preview Lab → · Contrast checker → · Palette generator →

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