#173E07#173E07

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

Color values

HEX#173E07
RGBrgb(23, 62, 7)
HSLhsl(103, 80%, 14%)
HSVhsv(103, 89%, 24%)
CMYKcmyk(62.9%, 0%, 88.7%, 75.7%)
CIE-LABlab(22.45, -25.13, 27.37)
CIE-LCHlch(22.45, 37.16, 132.55°)
OKLaboklab(32.32% -0.0694 0.0613)
OKLCHoklch(32.32% 0.093 138.5)
XYZxyz(2.1142, 3.6426, 0.7926)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E07 #2E073E
analogous
#323E07 #173E07 #073E12
triadic
#173E07 #07173E #3E0717
tetradic
#173E07 #07323E #2E073E #3E1207
square
#173E07 #07323E #2E073E #3E1207
split-complementary
#173E07 #12073E #3E0732
monochromatic
#0A1B03 #0A1B03 #173E07 #2B750D #40AC13

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173E07#FFFFFF#000000##FFFFFF
##173E071.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)
#403800
Deuteranopia (green-blind)
#3B340D
Tritanopia (blue-blind)
#133C34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173e07;
/* rgb */ color: rgb(23, 62, 7);
/* oklch */ color: oklch(32.3% 0.093 138.5);
Tailwind
colors: {
  custom: {
    50: '#5a744c',
    500: '#173e07',
    950: '#000000',
  },
}
SCSS
$custom: #173e07;
$custom-light: #5a744c;
$custom-dark: #000000;
JSON
{
  "hex": "#173e07",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 7
  },
  "hsl": {
    "h": 102.545,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32318,
    "c": 0.09259,
    "h": 138.5
  },
  "luminance": 0.03643
}

Semantic roles & 50–950 ramp

primary
#173E07
secondary
#63247D
accent
#32F6BD
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173E07

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

Preview Lab → · Contrast checker → · Palette generator →

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