#173B18#173B18

#173B18 is a dark, moderate green. Relative luminance 0.034; OKLCH L 31.6% C 0.073 H 144.1°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#173B18
RGBrgb(23, 59, 24)
HSLhsl(122, 44%, 16%)
HSVhsv(122, 61%, 23%)
CMYKcmyk(61%, 0%, 59.3%, 76.9%)
CIE-LABlab(21.49, -21.69, 17.72)
CIE-LCHlch(21.49, 28.01, 140.76°)
OKLaboklab(31.59% -0.0589 0.0426)
OKLCHoklch(31.59% 0.073 144.1)
XYZxyz(2.0821, 3.3759, 1.4059)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B18 #3B173A
analogous
#283B17 #173B18 #173B2A
triadic
#173B18 #18173B #3B1817
tetradic
#173B18 #17283B #3B173A #3B2A17
square
#173B18 #17283B #3B173A #3B2A17
split-complementary
#173B18 #2A173B #3B1728
monochromatic
#091609 #091609 #173B18 #28672A #39933C

Accessibility & contrast

On white

12.54
#173B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#173B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B18
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B18#FFFFFF#000000##FFFFFF
##173B181.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3615
Deuteranopia (green-blind)
#37321A
Tritanopia (blue-blind)
#113933
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173b18;
/* rgb */ color: rgb(23, 59, 24);
/* oklch */ color: oklch(31.6% 0.073 144.1);
Tailwind
colors: {
  custom: {
    50: '#587155',
    500: '#173b18',
    950: '#000000',
  },
}
SCSS
$custom: #173b18;
$custom-light: #587155;
$custom-dark: #000000;
JSON
{
  "hex": "#173b18",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 24
  },
  "hsl": {
    "h": 121.667,
    "s": 43.902,
    "l": 16.078
  },
  "oklch": {
    "l": 0.31585,
    "c": 0.07275,
    "h": 144.1
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#173B18
secondary
#723C70
accent
#54D0D4
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030703
muted
#787A78

Preview Lab

Preview with #173B18

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

Preview Lab → · Contrast checker → · Palette generator →

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