#171D05#171D05

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

Color values

HEX#171D05
RGBrgb(23, 29, 5)
HSLhsl(75, 71%, 7%)
HSVhsv(75, 83%, 11%)
CMYKcmyk(20.7%, 0%, 82.8%, 88.6%)
CIE-LABlab(9.58, -7.68, 12.12)
CIE-LCHlch(9.58, 14.35, 122.37°)
OKLaboklab(21.78% -0.0222 0.0363)
OKLCHoklch(21.78% 0.043 121.5)
XYZxyz(0.8201, 1.0718, 0.3072)
Luminance0.0107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171D05 #0B051D
analogous
#1D1705 #171D05 #0B1D05
triadic
#171D05 #05171D #1D0517
tetradic
#171D05 #051D17 #0B051D #1D050B
square
#171D05 #051D17 #0B051D #1D050B
split-complementary
#171D05 #050B1D #17051D
monochromatic
#151A05 #151A05 #171D05 #40510E #6A8517

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##171D05#FFFFFF#000000##FFFFFF
##171D051.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)
#1F1B03
Deuteranopia (green-blind)
#1F1B06
Tritanopia (blue-blind)
#191B18
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #171d05;
/* rgb */ color: rgb(23, 29, 5);
/* oklch */ color: oklch(21.8% 0.043 121.5);
Tailwind
colors: {
  custom: {
    50: '#535849',
    500: '#171d05',
    950: '#000000',
  },
}
SCSS
$custom: #171d05;
$custom-light: #535849;
$custom-dark: #000000;
JSON
{
  "hex": "#171d05",
  "rgb": {
    "r": 23,
    "g": 29,
    "b": 5
  },
  "hsl": {
    "h": 75,
    "s": 70.588,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21784,
    "c": 0.04255,
    "h": 121.5
  },
  "luminance": 0.01072
}

Semantic roles & 50–950 ramp

primary
#171D05
secondary
#2F205E
accent
#3AED67
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #171D05

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

Preview Lab → · Contrast checker → · Palette generator →

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