#172C0D#172C0D

#172C0D is a dark, muted green. Relative luminance 0.020; OKLCH L 26.7% C 0.059 H 136.8°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#172C0D
RGBrgb(23, 44, 13)
HSLhsl(101, 54%, 11%)
HSVhsv(101, 70%, 17%)
CMYKcmyk(47.7%, 0%, 70.5%, 82.7%)
CIE-LABlab(15.55, -15.62, 16.81)
CIE-LCHlch(15.55, 22.95, 132.89°)
OKLaboklab(26.67% -0.0431 0.0406)
OKLCHoklch(26.67% 0.059 136.8)
XYZxyz(1.3266, 2.0125, 0.6992)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C0D #220D2C
analogous
#262C0D #172C0D #0D2C12
triadic
#172C0D #0D172C #2C0D17
tetradic
#172C0D #0D262C #220D2C #2C120D
square
#172C0D #0D262C #220D2C #2C120D
split-complementary
#172C0D #120D2C #2C0D26
monochromatic
#0C1807 #0C1807 #172C0D #305B1B #488A29

Accessibility & contrast

On white

14.97
#172C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#172C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172C0D
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C0D#FFFFFF#000000##FFFFFF
##172C0D1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E280A
Deuteranopia (green-blind)
#2B260F
Tritanopia (blue-blind)
#162A25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #172c0d;
/* rgb */ color: rgb(23, 44, 13);
/* oklch */ color: oklch(26.7% 0.059 136.8);
Tailwind
colors: {
  custom: {
    50: '#55654d',
    500: '#172c0d',
    950: '#000000',
  },
}
SCSS
$custom: #172c0d;
$custom-light: #55654d;
$custom-dark: #000000;
JSON
{
  "hex": "#172c0d",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 13
  },
  "hsl": {
    "h": 100.645,
    "s": 54.386,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2667,
    "c": 0.05918,
    "h": 136.8
  },
  "luminance": 0.02013
}

Semantic roles & 50–950 ramp

primary
#172C0D
secondary
#542E67
accent
#4ADEAE
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #172C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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