#173D18#173D18

#173D18 is a dark, moderate green. Relative luminance 0.036; OKLCH L 32.2% C 0.076 H 144.0°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#173D18
RGBrgb(23, 61, 24)
HSLhsl(122, 45%, 16%)
HSVhsv(122, 62%, 24%)
CMYKcmyk(62.3%, 0%, 60.7%, 76.1%)
CIE-LABlab(22.25, -22.66, 18.64)
CIE-LCHlch(22.25, 29.35, 140.56°)
OKLaboklab(32.21% -0.0616 0.0447)
OKLCHoklch(32.21% 0.076 144)
XYZxyz(2.1868, 3.5854, 1.4408)
Luminance0.0359 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D18 #3D173C
analogous
#293D17 #173D18 #173D2B
triadic
#173D18 #18173D #3D1817
tetradic
#173D18 #17293D #3D173C #3D2B17
square
#173D18 #17293D #3D173C #3D2B17
split-complementary
#173D18 #2B173D #3D1729
monochromatic
#081609 #081609 #173D18 #286929 #39963B

Accessibility & contrast

On white

12.23
#173D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#173D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D18
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D18#FFFFFF#000000##FFFFFF
##173D181.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3715
Deuteranopia (green-blind)
#39341B
Tritanopia (blue-blind)
#113B35
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173d18;
/* rgb */ color: rgb(23, 61, 24);
/* oklch */ color: oklch(32.2% 0.076 144.0);
Tailwind
colors: {
  custom: {
    50: '#587356',
    500: '#173d18',
    950: '#000000',
  },
}
SCSS
$custom: #173d18;
$custom-light: #587356;
$custom-dark: #000000;
JSON
{
  "hex": "#173d18",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 24
  },
  "hsl": {
    "h": 121.579,
    "s": 45.238,
    "l": 16.471
  },
  "oklch": {
    "l": 0.32209,
    "c": 0.07607,
    "h": 144
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

primary
#173D18
secondary
#743C72
accent
#53D2D5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #173D18

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

Preview Lab → · Contrast checker → · Palette generator →

#173D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva