#173C07#173C07

#173C07 is a dark, moderate green. Relative luminance 0.034; OKLCH L 31.7% C 0.090 H 138.3°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#173C07
RGBrgb(23, 60, 7)
HSLhsl(102, 79%, 13%)
HSVhsv(102, 88%, 24%)
CMYKcmyk(61.7%, 0%, 88.3%, 76.5%)
CIE-LABlab(21.69, -24.23, 26.56)
CIE-LCHlch(21.69, 35.95, 132.37°)
OKLaboklab(31.69% -0.067 0.0598)
OKLCHoklch(31.69% 0.09 138.3)
XYZxyz(2.0075, 3.4291, 0.7571)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C07 #2C073C
analogous
#313C07 #173C07 #073C11
triadic
#173C07 #07173C #3C0717
tetradic
#173C07 #07313C #2C073C #3C1107
square
#173C07 #07313C #2C073C #3C1107
split-complementary
#173C07 #11073C #3C0731
monochromatic
#0B1B03 #0B1B03 #173C07 #2C730D #41AA14

Accessibility & contrast

On white

12.46
#173C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#173C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C07
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C07#FFFFFF#000000##FFFFFF
##173C071.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#39330D
Tritanopia (blue-blind)
#143A32
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173c07;
/* rgb */ color: rgb(23, 60, 7);
/* oklch */ color: oklch(31.7% 0.090 138.3);
Tailwind
colors: {
  custom: {
    50: '#59724b',
    500: '#173c07',
    950: '#000000',
  },
}
SCSS
$custom: #173c07;
$custom-light: #59724b;
$custom-dark: #000000;
JSON
{
  "hex": "#173c07",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 7
  },
  "hsl": {
    "h": 101.887,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31686,
    "c": 0.08977,
    "h": 138.3
  },
  "luminance": 0.03429
}

Semantic roles & 50–950 ramp

primary
#173C07
secondary
#61237B
accent
#32F6BB
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173C07

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

Preview Lab → · Contrast checker → · Palette generator →

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