#171F06#171F06

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

Color values

HEX#171F06
RGBrgb(23, 31, 6)
HSLhsl(79, 68%, 7%)
HSVhsv(79, 81%, 12%)
CMYKcmyk(25.8%, 0%, 80.6%, 87.8%)
CIE-LABlab(10.37, -8.84, 12.84)
CIE-LCHlch(10.37, 15.59, 124.55°)
OKLaboklab(22.43% -0.0252 0.0366)
OKLCHoklch(22.43% 0.044 124.6)
XYZxyz(0.8762, 1.1753, 0.3529)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171F06 #0E061F
analogous
#1F1B06 #171F06 #0B1F06
triadic
#171F06 #06171F #1F0617
tetradic
#171F06 #061F1B #0E061F #1F060B
square
#171F06 #061F1B #0E061F #1F060B
split-complementary
#171F06 #060B1F #1B061F
monochromatic
#131A05 #131A05 #171F06 #3D5210 #63861A

Accessibility & contrast

On white

17.00
#171F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171F06
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171F06#FFFFFF#000000##FFFFFF
##171F061.0017.001.2317.00
#FFFFFF17.001.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C04
Deuteranopia (green-blind)
#201C07
Tritanopia (blue-blind)
#181D1A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #171f06;
/* rgb */ color: rgb(23, 31, 6);
/* oklch */ color: oklch(22.4% 0.044 124.6);
Tailwind
colors: {
  custom: {
    50: '#535a49',
    500: '#171f06',
    950: '#000000',
  },
}
SCSS
$custom: #171f06;
$custom-light: #535a49;
$custom-dark: #000000;
JSON
{
  "hex": "#171f06",
  "rgb": {
    "r": 23,
    "g": 31,
    "b": 6
  },
  "hsl": {
    "h": 79.2,
    "s": 67.568,
    "l": 7.255
  },
  "oklch": {
    "l": 0.22433,
    "c": 0.04448,
    "h": 124.6
  },
  "luminance": 0.01175
}

Semantic roles & 50–950 ramp

primary
#171F06
secondary
#35225F
accent
#3DEA75
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #171F06

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

Preview Lab → · Contrast checker → · Palette generator →

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