#173E12#173E12

#173E12 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.4% C 0.084 H 141.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#173E12
RGBrgb(23, 62, 18)
HSLhsl(113, 55%, 16%)
HSVhsv(113, 71%, 24%)
CMYKcmyk(62.9%, 0%, 71%, 75.7%)
CIE-LABlab(22.55, -24.00, 22.39)
CIE-LCHlch(22.55, 32.82, 136.99°)
OKLaboklab(32.43% -0.0655 0.0522)
OKLCHoklch(32.43% 0.084 141.5)
XYZxyz(2.1851, 3.6709, 1.1656)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E12 #39123E
analogous
#2D3E12 #173E12 #123E23
triadic
#173E12 #12173E #3E1217
tetradic
#173E12 #122D3E #39123E #3E2312
square
#173E12 #122D3E #39123E #3E2312
split-complementary
#173E12 #23123E #3E122D
monochromatic
#091807 #091807 #173E12 #296D20 #3A9D2E

Accessibility & contrast

On white

12.11
#173E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173E12
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E12#FFFFFF#000000##FFFFFF
##173E121.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380D
Deuteranopia (green-blind)
#3B3516
Tritanopia (blue-blind)
#123C35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173e12;
/* rgb */ color: rgb(23, 62, 18);
/* oklch */ color: oklch(32.4% 0.084 141.5);
Tailwind
colors: {
  custom: {
    50: '#597452',
    500: '#173e12',
    950: '#000000',
  },
}
SCSS
$custom: #173e12;
$custom-light: #597452;
$custom-dark: #000000;
JSON
{
  "hex": "#173e12",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 18
  },
  "hsl": {
    "h": 113.182,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.32432,
    "c": 0.0838,
    "h": 141.5
  },
  "luminance": 0.03671
}

Semantic roles & 50–950 ramp

primary
#173E12
secondary
#6F3577
accent
#49DECD
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #173E12

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

Preview Lab → · Contrast checker → · Palette generator →

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