#173E24#173E24

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

Color values

HEX#173E24
RGBrgb(23, 62, 36)
HSLhsl(140, 46%, 17%)
HSVhsv(140, 63%, 24%)
CMYKcmyk(62.9%, 0%, 41.9%, 75.7%)
CIE-LABlab(22.84, -20.86, 11.95)
CIE-LCHlch(22.84, 24.04, 150.19°)
OKLaboklab(32.77% -0.0566 0.0299)
OKLCHoklch(32.77% 0.064 152.2)
XYZxyz(2.3942, 3.7546, 2.2673)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E24 #3E1731
analogous
#1E3E17 #173E24 #173E38
triadic
#173E24 #24173E #3E2417
tetradic
#173E24 #171E3E #3E1731 #3E3817
square
#173E24 #171E3E #3E1731 #3E3817
split-complementary
#173E24 #38173E #3E171E
monochromatic
#08160D #08160D #173E24 #286B3E #389758

Accessibility & contrast

On white

11.99
#173E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#173E24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E24
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E24#FFFFFF#000000##FFFFFF
##173E241.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3922
Deuteranopia (green-blind)
#393526
Tritanopia (blue-blind)
#0D3D37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173e24;
/* rgb */ color: rgb(23, 62, 36);
/* oklch */ color: oklch(32.8% 0.064 152.2);
Tailwind
colors: {
  custom: {
    50: '#58735f',
    500: '#173e24',
    950: '#000000',
  },
}
SCSS
$custom: #173e24;
$custom-light: #58735f;
$custom-dark: #000000;
JSON
{
  "hex": "#173e24",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 36
  },
  "hsl": {
    "h": 140,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.32765,
    "c": 0.064,
    "h": 152.2
  },
  "luminance": 0.03755
}

Semantic roles & 50–950 ramp

primary
#173E24
secondary
#753C62
accent
#52AAD6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #173E24

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

Preview Lab → · Contrast checker → · Palette generator →

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