#173F18#173F18

#173F18 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.8% C 0.079 H 143.9°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#173F18
RGBrgb(23, 63, 24)
HSLhsl(122, 47%, 17%)
HSVhsv(122, 63%, 25%)
CMYKcmyk(63.5%, 0%, 61.9%, 75.3%)
CIE-LABlab(23.01, -23.61, 19.56)
CIE-LCHlch(23.01, 30.66, 140.36°)
OKLaboklab(32.83% -0.0641 0.0467)
OKLCHoklch(32.83% 0.079 143.9)
XYZxyz(2.2956, 3.8029, 1.4770)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F18 #3F173E
analogous
#2A3F17 #173F18 #173F2C
triadic
#173F18 #18173F #3F1817
tetradic
#173F18 #172A3F #3F173E #3F2C17
square
#173F18 #172A3F #3F173E #3F2C17
split-complementary
#173F18 #2C173F #3F172A
monochromatic
#081609 #081609 #173F18 #276C29 #38993A

Accessibility & contrast

On white

11.93
#173F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#173F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F18
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F18#FFFFFF#000000##FFFFFF
##173F181.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403914
Deuteranopia (green-blind)
#3B361B
Tritanopia (blue-blind)
#103D36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173f18;
/* rgb */ color: rgb(23, 63, 24);
/* oklch */ color: oklch(32.8% 0.079 143.9);
Tailwind
colors: {
  custom: {
    50: '#597456',
    500: '#173f18',
    950: '#000000',
  },
}
SCSS
$custom: #173f18;
$custom-light: #597456;
$custom-dark: #000000;
JSON
{
  "hex": "#173f18",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 24
  },
  "hsl": {
    "h": 121.5,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.32833,
    "c": 0.07933,
    "h": 143.9
  },
  "luminance": 0.03803
}

Semantic roles & 50–950 ramp

primary
#173F18
secondary
#763C74
accent
#52D3D6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040803
muted
#797B78

Preview Lab

Preview with #173F18

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

Preview Lab → · Contrast checker → · Palette generator →

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