#172C0F#172C0F

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

Color values

HEX#172C0F
RGBrgb(23, 44, 15)
HSLhsl(103, 49%, 12%)
HSVhsv(103, 66%, 17%)
CMYKcmyk(47.7%, 0%, 65.9%, 82.7%)
CIE-LABlab(15.58, -15.33, 15.84)
CIE-LCHlch(15.58, 22.04, 134.06°)
OKLaboklab(26.7% -0.0422 0.0382)
OKLCHoklch(26.7% 0.057 137.8)
XYZxyz(1.3402, 2.0179, 0.7707)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C0F #240F2C
analogous
#262C0F #172C0F #0F2C16
triadic
#172C0F #0F172C #2C0F17
tetradic
#172C0F #0F262C #240F2C #2C160F
square
#172C0F #0F262C #240F2C #2C160F
split-complementary
#172C0F #160F2C #2C0F26
monochromatic
#0C1708 #0C1708 #172C0F #2F5A1F #47872E

Accessibility & contrast

On white

14.96
#172C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172C0F
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C0F#FFFFFF#000000##FFFFFF
##172C0F1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172c0f;
/* rgb */ color: rgb(23, 44, 15);
/* oklch */ color: oklch(26.7% 0.057 137.8);
Tailwind
colors: {
  custom: {
    50: '#55654e',
    500: '#172c0f',
    950: '#000000',
  },
}
SCSS
$custom: #172c0f;
$custom-light: #55654e;
$custom-dark: #000000;
JSON
{
  "hex": "#172c0f",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 15
  },
  "hsl": {
    "h": 103.448,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.26703,
    "c": 0.05689,
    "h": 137.8
  },
  "luminance": 0.02018
}

Semantic roles & 50–950 ramp

primary
#172C0F
secondary
#573165
accent
#4FD9B3
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #172C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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