#173D07#173D07

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

Color values

HEX#173D07
RGBrgb(23, 61, 7)
HSLhsl(102, 79%, 13%)
HSVhsv(102, 89%, 24%)
CMYKcmyk(62.3%, 0%, 88.5%, 76.1%)
CIE-LABlab(22.07, -24.68, 26.97)
CIE-LCHlch(22.07, 36.56, 132.46°)
OKLaboklab(32% -0.0682 0.0605)
OKLCHoklch(32% 0.091 138.4)
XYZxyz(2.0604, 3.5348, 0.7747)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D07 #2D073D
analogous
#323D07 #173D07 #073D12
triadic
#173D07 #07173D #3D0717
tetradic
#173D07 #07323D #2D073D #3D1207
square
#173D07 #07323D #2D073D #3D1207
split-complementary
#173D07 #12073D #3D0732
monochromatic
#0A1B03 #0A1B03 #173D07 #2C740D #40AB14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173D07#FFFFFF#000000##FFFFFF
##173D071.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)
#3F3700
Deuteranopia (green-blind)
#3A340D
Tritanopia (blue-blind)
#143B33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173d07;
/* rgb */ color: rgb(23, 61, 7);
/* oklch */ color: oklch(32.0% 0.091 138.4);
Tailwind
colors: {
  custom: {
    50: '#59734b',
    500: '#173d07',
    950: '#000000',
  },
}
SCSS
$custom: #173d07;
$custom-light: #59734b;
$custom-dark: #000000;
JSON
{
  "hex": "#173d07",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 7
  },
  "hsl": {
    "h": 102.222,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32002,
    "c": 0.09119,
    "h": 138.4
  },
  "luminance": 0.03535
}

Semantic roles & 50–950 ramp

primary
#173D07
secondary
#62237C
accent
#32F6BC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173D07

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

Preview Lab → · Contrast checker → · Palette generator →

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