#171F01#171F01

#171F01 is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.3% C 0.053 H 122.7°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#171F01
RGBrgb(23, 31, 1)
HSLhsl(76, 94%, 6%)
HSVhsv(76, 97%, 12%)
CMYKcmyk(25.8%, 0%, 96.8%, 87.8%)
CIE-LABlab(10.29, -9.59, 14.76)
CIE-LCHlch(10.29, 17.60, 123.01°)
OKLaboklab(22.34% -0.0284 0.0443)
OKLCHoklch(22.34% 0.053 122.7)
XYZxyz(0.8488, 1.1643, 0.2087)
Luminance0.0116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171F01 #09011F
analogous
#1F1801 #171F01 #081F01
triadic
#171F01 #01171F #1F0117
tetradic
#171F01 #011F18 #09011F #1F0108
square
#171F01 #011F18 #09011F #1F0108
split-complementary
#171F01 #01081F #18011F
monochromatic
#161E01 #161E01 #171F01 #435A03 #6F9605

Accessibility & contrast

On white

17.03
#171F01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171F01
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171F01#FFFFFF#000000##FFFFFF
##171F011.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171f01;
/* rgb */ color: rgb(23, 31, 1);
/* oklch */ color: oklch(22.3% 0.053 122.7);
Tailwind
colors: {
  custom: {
    50: '#535a47',
    500: '#171f01',
    950: '#000000',
  },
}
SCSS
$custom: #171f01;
$custom-light: #535a47;
$custom-dark: #000000;
JSON
{
  "hex": "#171f01",
  "rgb": {
    "r": 23,
    "g": 31,
    "b": 1
  },
  "hsl": {
    "h": 76,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.2234,
    "c": 0.05259,
    "h": 122.7
  },
  "luminance": 0.01164
}

Semantic roles & 50–950 ramp

primary
#171F01
secondary
#2B1567
accent
#29FF62
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#020300
muted
#787877

Preview Lab

Preview with #171F01

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

Preview Lab → · Contrast checker → · Palette generator →

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