#171D06#171D06

#171D06 is a very dark, muted yellow-green. Relative luminance 0.011; OKLCH L 21.8% C 0.041 H 121.9°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#171D06
RGBrgb(23, 29, 6)
HSLhsl(76, 66%, 7%)
HSVhsv(76, 79%, 11%)
CMYKcmyk(20.7%, 0%, 79.3%, 88.6%)
CIE-LABlab(9.59, -7.53, 11.73)
CIE-LCHlch(9.59, 13.94, 122.69°)
OKLaboklab(21.8% -0.0216 0.0348)
OKLCHoklch(21.8% 0.041 121.9)
XYZxyz(0.8256, 1.0740, 0.3361)
Luminance0.0107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171D06 #0C061D
analogous
#1D1806 #171D06 #0C1D06
triadic
#171D06 #06171D #1D0617
tetradic
#171D06 #061D18 #0C061D #1D060C
square
#171D06 #061D18 #0C061D #1D060C
split-complementary
#171D06 #060C1D #18061D
monochromatic
#141905 #141905 #171D06 #3F5010 #67821B

Accessibility & contrast

On white

17.29
#171D06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#171D06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171D06
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171D06#FFFFFF#000000##FFFFFF
##171D061.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1B04
Deuteranopia (green-blind)
#1E1B07
Tritanopia (blue-blind)
#191B18
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #171d06;
/* rgb */ color: rgb(23, 29, 6);
/* oklch */ color: oklch(21.8% 0.041 121.9);
Tailwind
colors: {
  custom: {
    50: '#535849',
    500: '#171d06',
    950: '#000000',
  },
}
SCSS
$custom: #171d06;
$custom-light: #535849;
$custom-dark: #000000;
JSON
{
  "hex": "#171d06",
  "rgb": {
    "r": 23,
    "g": 29,
    "b": 6
  },
  "hsl": {
    "h": 75.652,
    "s": 65.714,
    "l": 6.863
  },
  "oklch": {
    "l": 0.21804,
    "c": 0.04094,
    "h": 121.9
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#171D06
secondary
#31225D
accent
#3FE96B
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #171D06

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

Preview Lab → · Contrast checker → · Palette generator →

#171D06 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva