#173F03#173F03

#173F03 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.6% C 0.097 H 137.9°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#173F03
RGBrgb(23, 63, 3)
HSLhsl(100, 91%, 13%)
HSVhsv(100, 95%, 25%)
CMYKcmyk(63.5%, 0%, 95.2%, 75.3%)
CIE-LABlab(22.80, -25.92, 29.37)
CIE-LCHlch(22.80, 39.17, 131.43°)
OKLaboklab(32.6% -0.0719 0.065)
OKLCHoklch(32.6% 0.097 137.9)
XYZxyz(2.1472, 3.7436, 0.6956)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F03 #2B033F
analogous
#353F03 #173F03 #033F0D
triadic
#173F03 #03173F #3F0317
tetradic
#173F03 #03353F #2B033F #3F0D03
square
#173F03 #03353F #2B033F #3F0D03
split-complementary
#173F03 #0D033F #3F0335
monochromatic
#0B1D01 #0B1D01 #173F03 #2C7906 #42B409

Accessibility & contrast

On white

12.01
#173F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173F03
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F03#FFFFFF#000000##FFFFFF
##173F031.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413800
Deuteranopia (green-blind)
#3C350A
Tritanopia (blue-blind)
#143C34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173f03;
/* rgb */ color: rgb(23, 63, 3);
/* oklch */ color: oklch(32.6% 0.097 137.9);
Tailwind
colors: {
  custom: {
    50: '#5a744a',
    500: '#173f03',
    950: '#000000',
  },
}
SCSS
$custom: #173f03;
$custom-light: #5a744a;
$custom-dark: #000000;
JSON
{
  "hex": "#173f03",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 3
  },
  "hsl": {
    "h": 100,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32599,
    "c": 0.09692,
    "h": 137.9
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

primary
#173F03
secondary
#601D81
accent
#29FFB8
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173F03

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

Preview Lab → · Contrast checker → · Palette generator →

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