#173D08#173D08

#173D08 is a dark, moderate green. Relative luminance 0.035; OKLCH L 32.0% C 0.090 H 138.6°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#173D08
RGBrgb(23, 61, 8)
HSLhsl(103, 77%, 14%)
HSVhsv(103, 87%, 24%)
CMYKcmyk(62.3%, 0%, 86.9%, 76.1%)
CIE-LABlab(22.08, -24.59, 26.57)
CIE-LCHlch(22.08, 36.21, 132.78°)
OKLaboklab(32.01% -0.0679 0.0598)
OKLCHoklch(32.01% 0.09 138.6)
XYZxyz(2.0658, 3.5370, 0.8035)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D08 #2E083D
analogous
#313D08 #173D08 #083D13
triadic
#173D08 #08173D #3D0817
tetradic
#173D08 #08313D #2E083D #3D1308
square
#173D08 #08313D #2E083D #3D1308
split-complementary
#173D08 #13083D #3D0831
monochromatic
#0A1B04 #0A1B04 #173D08 #2B730F #40A916

Accessibility & contrast

On white

12.30
#173D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#173D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D08
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D08#FFFFFF#000000##FFFFFF
##173D081.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3701
Deuteranopia (green-blind)
#3A340E
Tritanopia (blue-blind)
#133B33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173d08;
/* rgb */ color: rgb(23, 61, 8);
/* oklch */ color: oklch(32.0% 0.090 138.6);
Tailwind
colors: {
  custom: {
    50: '#59734c',
    500: '#173d08',
    950: '#000000',
  },
}
SCSS
$custom: #173d08;
$custom-light: #59734c;
$custom-dark: #000000;
JSON
{
  "hex": "#173d08",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 8
  },
  "hsl": {
    "h": 103.019,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32011,
    "c": 0.09044,
    "h": 138.6
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#173D08
secondary
#63257C
accent
#34F3BD
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173D08

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

Preview Lab → · Contrast checker → · Palette generator →

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