#173F05#173F05

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

Color values

HEX#173F05
RGBrgb(23, 63, 5)
HSLhsl(101, 85%, 13%)
HSVhsv(101, 92%, 25%)
CMYKcmyk(63.5%, 0%, 92.1%, 75.3%)
CIE-LABlab(22.82, -25.74, 28.57)
CIE-LCHlch(22.82, 38.46, 132.02°)
OKLaboklab(32.62% -0.0712 0.0635)
OKLCHoklch(32.62% 0.095 138.3)
XYZxyz(2.1582, 3.7480, 0.7532)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F05 #2D053F
analogous
#343F05 #173F05 #053F10
triadic
#173F05 #05173F #3F0517
tetradic
#173F05 #05343F #2D053F #3F1005
square
#173F05 #05343F #2D053F #3F1005
split-complementary
#173F05 #10053F #3F0534
monochromatic
#0A1C02 #0A1C02 #173F05 #2C7809 #40B00E

Accessibility & contrast

On white

12.00
#173F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173F05
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F05#FFFFFF#000000##FFFFFF
##173F051.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173f05;
/* rgb */ color: rgb(23, 63, 5);
/* oklch */ color: oklch(32.6% 0.095 138.3);
Tailwind
colors: {
  custom: {
    50: '#5a744b',
    500: '#173f05',
    950: '#000000',
  },
}
SCSS
$custom: #173f05;
$custom-light: #5a744b;
$custom-dark: #000000;
JSON
{
  "hex": "#173f05",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 5
  },
  "hsl": {
    "h": 101.379,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32616,
    "c": 0.09543,
    "h": 138.3
  },
  "luminance": 0.03748
}

Semantic roles & 50–950 ramp

primary
#173F05
secondary
#622080
accent
#2CFCBB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173F05

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

Preview Lab → · Contrast checker → · Palette generator →

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