#172811#172811

#172811 is a dark, muted green. Relative luminance 0.017; OKLCH L 25.5% C 0.047 H 138.0°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#172811
RGBrgb(23, 40, 17)
HSLhsl(104, 40%, 11%)
HSVhsv(104, 58%, 16%)
CMYKcmyk(42.5%, 0%, 57.5%, 84.3%)
CIE-LABlab(14.06, -12.71, 12.77)
CIE-LCHlch(14.06, 18.02, 134.88°)
OKLaboklab(25.48% -0.0348 0.0314)
OKLCHoklch(25.48% 0.047 138)
XYZxyz(1.2133, 1.7402, 0.8022)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172811 #221128
analogous
#222811 #172811 #112816
triadic
#172811 #111728 #281117
tetradic
#172811 #112228 #221128 #281611
square
#172811 #112228 #221128 #281611
split-complementary
#172811 #161128 #281122
monochromatic
#0C1509 #0C1509 #172811 #305323 #487E36

Accessibility & contrast

On white

15.58
#172811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#172811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172811
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172811#FFFFFF#000000##FFFFFF
##1728111.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29250F
Deuteranopia (green-blind)
#272312
Tritanopia (blue-blind)
#162723
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #172811;
/* rgb */ color: rgb(23, 40, 17);
/* oklch */ color: oklch(25.5% 0.047 138.0);
Tailwind
colors: {
  custom: {
    50: '#55624f',
    500: '#172811',
    950: '#000000',
  },
}
SCSS
$custom: #172811;
$custom-light: #55624f;
$custom-dark: #000000;
JSON
{
  "hex": "#172811",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 17
  },
  "hsl": {
    "h": 104.348,
    "s": 40.351,
    "l": 11.176
  },
  "oklch": {
    "l": 0.25475,
    "c": 0.0469,
    "h": 138
  },
  "luminance": 0.0174
}

Semantic roles & 50–950 ramp

primary
#172811
secondary
#54355F
accent
#58D0B1
background
#F4F5F4
surface
#E8EAE7
border
#C4C6C3
text
#030502
muted
#787978

Preview Lab

Preview with #172811

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

Preview Lab → · Contrast checker → · Palette generator →

#172811 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva