#173E0B#173E0B

#173E0B is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.4% C 0.090 H 139.4°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#173E0B
RGBrgb(23, 62, 11)
HSLhsl(106, 70%, 14%)
HSVhsv(106, 82%, 24%)
CMYKcmyk(62.9%, 0%, 82.3%, 75.7%)
CIE-LABlab(22.48, -24.77, 25.77)
CIE-LCHlch(22.48, 35.74, 133.87°)
OKLaboklab(32.35% -0.0681 0.0584)
OKLCHoklch(32.35% 0.09 139.4)
XYZxyz(2.1363, 3.6514, 0.9088)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E0B #320B3E
analogous
#313E0B #173E0B #0B3E19
triadic
#173E0B #0B173E #3E0B17
tetradic
#173E0B #0B313E #320B3E #3E190B
square
#173E0B #0B313E #320B3E #3E190B
split-complementary
#173E0B #190B3E #3E0B31
monochromatic
#0A1A05 #0A1A05 #173E0B #2A7214 #3EA61D

Accessibility & contrast

On white

12.14
#173E0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#173E0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E0B
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E0B#FFFFFF#000000##FFFFFF
##173E0B1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403804
Deuteranopia (green-blind)
#3B3410
Tritanopia (blue-blind)
#133C34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173e0b;
/* rgb */ color: rgb(23, 62, 11);
/* oklch */ color: oklch(32.4% 0.090 139.4);
Tailwind
colors: {
  custom: {
    50: '#59744d',
    500: '#173e0b',
    950: '#000000',
  },
}
SCSS
$custom: #173e0b;
$custom-light: #59744d;
$custom-dark: #000000;
JSON
{
  "hex": "#173e0b",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 11
  },
  "hsl": {
    "h": 105.882,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32353,
    "c": 0.08971,
    "h": 139.4
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#173E0B
secondary
#682A7B
accent
#3BEDC3
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173E0B

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

Preview Lab → · Contrast checker → · Palette generator →

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