#173F0B#173F0B

#173F0B is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.091 H 139.5°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#173F0B
RGBrgb(23, 63, 11)
HSLhsl(106, 70%, 15%)
HSVhsv(106, 83%, 25%)
CMYKcmyk(63.5%, 0%, 82.5%, 75.3%)
CIE-LABlab(22.87, -25.22, 26.16)
CIE-LCHlch(22.87, 36.34, 133.95°)
OKLaboklab(32.67% -0.0693 0.0592)
OKLCHoklch(32.67% 0.091 139.5)
XYZxyz(2.1912, 3.7612, 0.9271)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F0B #330B3F
analogous
#313F0B #173F0B #0B3F19
triadic
#173F0B #0B173F #3F0B17
tetradic
#173F0B #0B313F #330B3F #3F190B
square
#173F0B #0B313F #330B3F #3F190B
split-complementary
#173F0B #190B3F #3F0B31
monochromatic
#0A1A05 #0A1A05 #173F0B #2A7314 #3DA71D

Accessibility & contrast

On white

11.98
#173F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173F0B
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F0B#FFFFFF#000000##FFFFFF
##173F0B1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413904
Deuteranopia (green-blind)
#3C3510
Tritanopia (blue-blind)
#133D35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173f0b;
/* rgb */ color: rgb(23, 63, 11);
/* oklch */ color: oklch(32.7% 0.091 139.5);
Tailwind
colors: {
  custom: {
    50: '#5a744e',
    500: '#173f0b',
    950: '#000000',
  },
}
SCSS
$custom: #173f0b;
$custom-light: #5a744e;
$custom-dark: #000000;
JSON
{
  "hex": "#173f0b",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 11
  },
  "hsl": {
    "h": 106.154,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32668,
    "c": 0.09116,
    "h": 139.5
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#173F0B
secondary
#692A7C
accent
#3BEDC4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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