#172D0C#172D0C

#172D0C is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.0% C 0.062 H 136.6°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#172D0C
RGBrgb(23, 45, 12)
HSLhsl(100, 58%, 11%)
HSVhsv(100, 73%, 18%)
CMYKcmyk(48.9%, 0%, 73.3%, 82.4%)
CIE-LABlab(15.93, -16.30, 17.76)
CIE-LCHlch(15.93, 24.10, 132.54°)
OKLaboklab(26.97% -0.045 0.0426)
OKLCHoklch(26.97% 0.062 136.6)
XYZxyz(1.3581, 2.0854, 0.6787)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D0C #220C2D
analogous
#272D0C #172D0C #0C2D11
triadic
#172D0C #0C172D #2D0C17
tetradic
#172D0C #0C272D #220C2D #2D110C
square
#172D0C #0C272D #220C2D #2D110C
split-complementary
#172D0C #110C2D #2D0C27
monochromatic
#0C1806 #0C1806 #172D0C #305D19 #488E26

Accessibility & contrast

On white

14.82
#172D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#172D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172D0C
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D0C#FFFFFF#000000##FFFFFF
##172D0C1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2908
Deuteranopia (green-blind)
#2C270F
Tritanopia (blue-blind)
#162B26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #172d0c;
/* rgb */ color: rgb(23, 45, 12);
/* oklch */ color: oklch(27.0% 0.062 136.6);
Tailwind
colors: {
  custom: {
    50: '#56664c',
    500: '#172d0c',
    950: '#000000',
  },
}
SCSS
$custom: #172d0c;
$custom-light: #56664c;
$custom-dark: #000000;
JSON
{
  "hex": "#172d0c",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 12
  },
  "hsl": {
    "h": 100,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.26974,
    "c": 0.06201,
    "h": 136.6
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#172D0C
secondary
#542C69
accent
#47E1AE
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #172D0C

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

Preview Lab → · Contrast checker → · Palette generator →

#172D0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva