#175117#175117

#175117 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.107 H 143.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#175117
RGBrgb(23, 81, 23)
HSLhsl(120, 56%, 20%)
HSVhsv(120, 72%, 32%)
CMYKcmyk(71.6%, 0%, 71.6%, 68.2%)
CIE-LABlab(29.73, -31.58, 27.80)
CIE-LCHlch(29.73, 42.07, 138.64°)
OKLaboklab(38.38% -0.0858 0.0643)
OKLCHoklch(38.38% 0.107 143.1)
XYZxyz(3.4502, 6.1285, 1.8115)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175117 #511751
analogous
#345117 #175117 #175134
triadic
#175117 #171751 #511717
tetradic
#175117 #173451 #511751 #513417
square
#175117 #173451 #511751 #513417
split-complementary
#175117 #341751 #511734
monochromatic
#071807 #092109 #175117 #258125 #32B032

Accessibility & contrast

On white

9.43
#175117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#175117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175117
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175117#FFFFFF#000000##FFFFFF
##1751171.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534910
Deuteranopia (green-blind)
#4C441C
Tritanopia (blue-blind)
#0A4E45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #175117;
/* rgb */ color: rgb(23, 81, 23);
/* oklch */ color: oklch(38.4% 0.107 143.1);
Tailwind
colors: {
  custom: {
    50: '#5d8257',
    500: '#175117',
    950: '#000000',
  },
}
SCSS
$custom: #175117;
$custom-light: #5d8257;
$custom-dark: #000000;
JSON
{
  "hex": "#175117",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38379,
    "c": 0.10719,
    "h": 143.1
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#175117
secondary
#883C88
accent
#49DFDF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #175117

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

Preview Lab → · Contrast checker → · Palette generator →

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