#171E05#171E05

#171E05 is a very dark, muted yellow-green. Relative luminance 0.011; OKLCH L 22.1% C 0.044 H 122.9°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#171E05
RGBrgb(23, 30, 5)
HSLhsl(77, 71%, 7%)
HSVhsv(77, 83%, 12%)
CMYKcmyk(23.3%, 0%, 83.3%, 88.2%)
CIE-LABlab(9.97, -8.35, 12.67)
CIE-LCHlch(9.97, 15.17, 123.37°)
OKLaboklab(22.1% -0.024 0.0372)
OKLCHoklch(22.1% 0.044 122.9)
XYZxyz(0.8450, 1.1217, 0.3155)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E05 #0C051E
analogous
#1E1905 #171E05 #0B1E05
triadic
#171E05 #05171E #1E0517
tetradic
#171E05 #051E19 #0C051E #1E050B
square
#171E05 #051E19 #0C051E #1E050B
split-complementary
#171E05 #050B1E #19051E
monochromatic
#141A04 #141A04 #171E05 #3F520E #678716

Accessibility & contrast

On white

17.15
#171E05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#171E05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171E05
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E05#FFFFFF#000000##FFFFFF
##171E051.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201C03
Deuteranopia (green-blind)
#1F1B06
Tritanopia (blue-blind)
#191C19
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #171e05;
/* rgb */ color: rgb(23, 30, 5);
/* oklch */ color: oklch(22.1% 0.044 122.9);
Tailwind
colors: {
  custom: {
    50: '#535949',
    500: '#171e05',
    950: '#000000',
  },
}
SCSS
$custom: #171e05;
$custom-light: #535949;
$custom-dark: #000000;
JSON
{
  "hex": "#171e05",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 5
  },
  "hsl": {
    "h": 76.8,
    "s": 71.429,
    "l": 6.863
  },
  "oklch": {
    "l": 0.22099,
    "c": 0.04427,
    "h": 122.9
  },
  "luminance": 0.01122
}

Semantic roles & 50–950 ramp

primary
#171E05
secondary
#31205F
accent
#3AEE6C
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #171E05

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

Preview Lab → · Contrast checker → · Palette generator →

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