#173A12#173A12

#173A12 is a dark, moderate green. Relative luminance 0.033; OKLCH L 31.2% C 0.077 H 141.2°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#173A12
RGBrgb(23, 58, 18)
HSLhsl(113, 53%, 15%)
HSVhsv(113, 69%, 23%)
CMYKcmyk(60.3%, 0%, 69%, 77.3%)
CIE-LABlab(21.03, -22.12, 20.66)
CIE-LCHlch(21.03, 30.27, 136.96°)
OKLaboklab(31.18% -0.0604 0.0485)
OKLCHoklch(31.18% 0.077 141.2)
XYZxyz(1.9755, 3.2518, 1.0957)
Luminance0.0325 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A12 #35123A
analogous
#2B3A12 #173A12 #123A21
triadic
#173A12 #12173A #3A1217
tetradic
#173A12 #122B3A #35123A #3A2112
square
#173A12 #122B3A #35123A #3A2112
split-complementary
#173A12 #21123A #3A122B
monochromatic
#091707 #091707 #173A12 #2A6920 #3C972F

Accessibility & contrast

On white

12.72
#173A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#173A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A12
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A12#FFFFFF#000000##FFFFFF
##173A121.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C340E
Deuteranopia (green-blind)
#373115
Tritanopia (blue-blind)
#133831
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173a12;
/* rgb */ color: rgb(23, 58, 18);
/* oklch */ color: oklch(31.2% 0.077 141.2);
Tailwind
colors: {
  custom: {
    50: '#587051',
    500: '#173a12',
    950: '#000000',
  },
}
SCSS
$custom: #173a12;
$custom-light: #587051;
$custom-dark: #000000;
JSON
{
  "hex": "#173a12",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 18
  },
  "hsl": {
    "h": 112.5,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.31175,
    "c": 0.07749,
    "h": 141.2
  },
  "luminance": 0.03252
}

Semantic roles & 50–950 ramp

primary
#173A12
secondary
#6B3573
accent
#4CDCCA
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030702
muted
#787A78

Preview Lab

Preview with #173A12

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

Preview Lab → · Contrast checker → · Palette generator →

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