#172F11#172F11

#172F11 is a dark, muted green. Relative luminance 0.023; OKLCH L 27.7% C 0.060 H 139.6°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#172F11
RGBrgb(23, 47, 17)
HSLhsl(108, 47%, 13%)
HSVhsv(108, 64%, 18%)
CMYKcmyk(51.1%, 0%, 63.8%, 81.6%)
CIE-LABlab(16.78, -16.67, 16.22)
CIE-LCHlch(16.78, 23.26, 135.78°)
OKLaboklab(27.69% -0.0457 0.0388)
OKLCHoklch(27.69% 0.06 139.6)
XYZxyz(1.4710, 2.2556, 0.8881)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F11 #29112F
analogous
#262F11 #172F11 #112F1A
triadic
#172F11 #11172F #2F1117
tetradic
#172F11 #11262F #29112F #2F1A11
square
#172F11 #11262F #29112F #2F1A11
split-complementary
#172F11 #1A112F #2F1126
monochromatic
#0B1608 #0B1608 #172F11 #2D5C21 #438932

Accessibility & contrast

On white

14.47
#172F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#172F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172F11
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F11#FFFFFF#000000##FFFFFF
##172F111.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B0E
Deuteranopia (green-blind)
#2D2913
Tritanopia (blue-blind)
#152D28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #172f11;
/* rgb */ color: rgb(23, 47, 17);
/* oklch */ color: oklch(27.7% 0.060 139.6);
Tailwind
colors: {
  custom: {
    50: '#566750',
    500: '#172f11',
    950: '#000000',
  },
}
SCSS
$custom: #172f11;
$custom-light: #566750;
$custom-dark: #000000;
JSON
{
  "hex": "#172f11",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 17
  },
  "hsl": {
    "h": 108,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.27687,
    "c": 0.05995,
    "h": 139.6
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#172F11
secondary
#5D3467
accent
#51D7BC
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030602
muted
#787A78

Preview Lab

Preview with #172F11

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

Preview Lab → · Contrast checker → · Palette generator →

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