#173C08#173C08

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

Color values

HEX#173C08
RGBrgb(23, 60, 8)
HSLhsl(103, 76%, 13%)
HSVhsv(103, 87%, 24%)
CMYKcmyk(61.7%, 0%, 86.7%, 76.5%)
CIE-LABlab(21.69, -24.14, 26.16)
CIE-LCHlch(21.69, 35.60, 132.69°)
OKLaboklab(31.7% -0.0666 0.059)
OKLCHoklch(31.7% 0.089 138.5)
XYZxyz(2.0130, 3.4312, 0.7859)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C08 #2D083C
analogous
#313C08 #173C08 #083C13
triadic
#173C08 #08173C #3C0817
tetradic
#173C08 #08313C #2D083C #3C1308
square
#173C08 #08313C #2D083C #3C1308
split-complementary
#173C08 #13083C #3C0831
monochromatic
#0A1B04 #0A1B04 #173C08 #2C720F #40A816

Accessibility & contrast

On white

12.45
#173C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173C08
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C08#FFFFFF#000000##FFFFFF
##173C081.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173c08;
/* rgb */ color: rgb(23, 60, 8);
/* oklch */ color: oklch(31.7% 0.089 138.5);
Tailwind
colors: {
  custom: {
    50: '#59724c',
    500: '#173c08',
    950: '#000000',
  },
}
SCSS
$custom: #173c08;
$custom-light: #59724c;
$custom-dark: #000000;
JSON
{
  "hex": "#173c08",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 8
  },
  "hsl": {
    "h": 102.692,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31695,
    "c": 0.08901,
    "h": 138.5
  },
  "luminance": 0.03431
}

Semantic roles & 50–950 ramp

primary
#173C08
secondary
#62257B
accent
#35F3BC
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173C08

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

Preview Lab → · Contrast checker → · Palette generator →

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