#171A01#171A01

#171A01 is a very dark, muted yellow. Relative luminance 0.009; OKLCH L 20.8% C 0.045 H 115.6°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#171A01
RGBrgb(23, 26, 1)
HSLhsl(67, 93%, 5%)
HSVhsv(67, 96%, 10%)
CMYKcmyk(11.5%, 0%, 96.2%, 89.8%)
CIE-LABlab(8.33, -6.09, 11.96)
CIE-LCHlch(8.33, 13.42, 117.00°)
OKLaboklab(20.76% -0.0195 0.0407)
OKLCHoklch(20.76% 0.045 115.6)
XYZxyz(0.7282, 0.9232, 0.1685)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171A01 #04011A
analogous
#1A1001 #171A01 #0A1A01
triadic
#171A01 #01171A #1A0117
tetradic
#171A01 #011A10 #04011A #1A010A
square
#171A01 #011A10 #04011A #1A010A
split-complementary
#171A01 #010A1A #10011A
monochromatic
#1A1D01 #1A1D01 #1A1D01 #4B5503 #7F9006

Accessibility & contrast

On white

17.73
#171A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#171A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171A01
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171A01#FFFFFF#000000##FFFFFF
##171A011.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1800
Deuteranopia (green-blind)
#1D1802
Tritanopia (blue-blind)
#191815
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #171a01;
/* rgb */ color: rgb(23, 26, 1);
/* oklch */ color: oklch(20.8% 0.045 115.6);
Tailwind
colors: {
  custom: {
    50: '#535647',
    500: '#171a01',
    950: '#000000',
  },
}
SCSS
$custom: #171a01;
$custom-light: #535647;
$custom-dark: #000000;
JSON
{
  "hex": "#171a01",
  "rgb": {
    "r": 23,
    "g": 26,
    "b": 1
  },
  "hsl": {
    "h": 67.2,
    "s": 92.593,
    "l": 5.294
  },
  "oklch": {
    "l": 0.20762,
    "c": 0.04509,
    "h": 115.6
  },
  "luminance": 0.00923
}

Semantic roles & 50–950 ramp

primary
#171A01
secondary
#1E1562
accent
#29FF43
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#020300
muted
#787877

Preview Lab

Preview with #171A01

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

Preview Lab → · Contrast checker → · Palette generator →

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