#173E18#173E18

#173E18 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.5% C 0.078 H 144.0°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#173E18
RGBrgb(23, 62, 24)
HSLhsl(122, 46%, 17%)
HSVhsv(122, 63%, 24%)
CMYKcmyk(62.9%, 0%, 61.3%, 75.7%)
CIE-LABlab(22.63, -23.14, 19.10)
CIE-LCHlch(22.63, 30.01, 140.46°)
OKLaboklab(32.52% -0.0628 0.0457)
OKLCHoklch(32.52% 0.078 144)
XYZxyz(2.2407, 3.6932, 1.4587)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E18 #3E173D
analogous
#2A3E17 #173E18 #173E2C
triadic
#173E18 #18173E #3E1817
tetradic
#173E18 #172A3E #3E173D #3E2C17
square
#173E18 #172A3E #3E173D #3E2C17
split-complementary
#173E18 #2C173E #3E172A
monochromatic
#081609 #081609 #173E18 #286B29 #38973B

Accessibility & contrast

On white

12.08
#173E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#173E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E18
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E18#FFFFFF#000000##FFFFFF
##173E181.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#3A351B
Tritanopia (blue-blind)
#113C35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173e18;
/* rgb */ color: rgb(23, 62, 24);
/* oklch */ color: oklch(32.5% 0.078 144.0);
Tailwind
colors: {
  custom: {
    50: '#587456',
    500: '#173e18',
    950: '#000000',
  },
}
SCSS
$custom: #173e18;
$custom-light: #587456;
$custom-dark: #000000;
JSON
{
  "hex": "#173e18",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 24
  },
  "hsl": {
    "h": 121.538,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.32521,
    "c": 0.07771,
    "h": 144
  },
  "luminance": 0.03693
}

Semantic roles & 50–950 ramp

primary
#173E18
secondary
#753C73
accent
#52D2D6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040803
muted
#797B78

Preview Lab

Preview with #173E18

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

Preview Lab → · Contrast checker → · Palette generator →

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