#173E08#173E08

#173E08 is a dark, moderate green. Relative luminance 0.036; OKLCH L 32.3% C 0.092 H 138.8°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#173E08
RGBrgb(23, 62, 8)
HSLhsl(103, 77%, 14%)
HSVhsv(103, 87%, 24%)
CMYKcmyk(62.9%, 0%, 87.1%, 75.7%)
CIE-LABlab(22.46, -25.04, 26.97)
CIE-LCHlch(22.46, 36.80, 132.87°)
OKLaboklab(32.33% -0.0691 0.0606)
OKLCHoklch(32.33% 0.092 138.8)
XYZxyz(2.1197, 3.6448, 0.8215)
Luminance0.0365 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E08 #2F083E
analogous
#323E08 #173E08 #083E14
triadic
#173E08 #08173E #3E0817
tetradic
#173E08 #08323E #2F083E #3E1408
square
#173E08 #08323E #2F083E #3E1408
split-complementary
#173E08 #14083E #3E0832
monochromatic
#0A1B03 #0A1B03 #173E08 #2B740F #3FAA16

Accessibility & contrast

On white

12.15
#173E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#173E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E08
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E08#FFFFFF#000000##FFFFFF
##173E081.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173e08;
/* rgb */ color: rgb(23, 62, 8);
/* oklch */ color: oklch(32.3% 0.092 138.8);
Tailwind
colors: {
  custom: {
    50: '#5a744c',
    500: '#173e08',
    950: '#000000',
  },
}
SCSS
$custom: #173e08;
$custom-light: #5a744c;
$custom-dark: #000000;
JSON
{
  "hex": "#173e08",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 8
  },
  "hsl": {
    "h": 103.333,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32327,
    "c": 0.09186,
    "h": 138.8
  },
  "luminance": 0.03645
}

Semantic roles & 50–950 ramp

primary
#173E08
secondary
#64257D
accent
#34F4BE
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173E08

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

Preview Lab → · Contrast checker → · Palette generator →

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