#171F05#171F05

#171F05 is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.4% C 0.046 H 124.2°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#171F05
RGBrgb(23, 31, 5)
HSLhsl(78, 72%, 7%)
HSVhsv(78, 84%, 12%)
CMYKcmyk(25.8%, 0%, 83.9%, 87.8%)
CIE-LABlab(10.36, -8.99, 13.22)
CIE-LCHlch(10.36, 15.99, 124.21°)
OKLaboklab(22.41% -0.0258 0.0381)
OKLCHoklch(22.41% 0.046 124.2)
XYZxyz(0.8707, 1.1731, 0.3241)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171F05 #0D051F
analogous
#1F1A05 #171F05 #0A1F05
triadic
#171F05 #05171F #1F0517
tetradic
#171F05 #051F1A #0D051F #1F050A
square
#171F05 #051F1A #0D051F #1F050A
split-complementary
#171F05 #050A1F #1A051F
monochromatic
#141A04 #141A04 #171F05 #3E540E #658816

Accessibility & contrast

On white

17.01
#171F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#171F05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171F05
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171F05#FFFFFF#000000##FFFFFF
##171F051.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C03
Deuteranopia (green-blind)
#201C06
Tritanopia (blue-blind)
#191D19
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #171f05;
/* rgb */ color: rgb(23, 31, 5);
/* oklch */ color: oklch(22.4% 0.046 124.2);
Tailwind
colors: {
  custom: {
    50: '#535a49',
    500: '#171f05',
    950: '#000000',
  },
}
SCSS
$custom: #171f05;
$custom-light: #535a49;
$custom-dark: #000000;
JSON
{
  "hex": "#171f05",
  "rgb": {
    "r": 23,
    "g": 31,
    "b": 5
  },
  "hsl": {
    "h": 78.462,
    "s": 72.222,
    "l": 7.059
  },
  "oklch": {
    "l": 0.22414,
    "c": 0.04601,
    "h": 124.2
  },
  "luminance": 0.01173
}

Semantic roles & 50–950 ramp

primary
#171F05
secondary
#332060
accent
#39EF71
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #171F05

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

Preview Lab → · Contrast checker → · Palette generator →

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