#171B01#171B01

#171B01 is a very dark, muted yellow. Relative luminance 0.010; OKLCH L 21.1% C 0.047 H 117.2°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#171B01
RGBrgb(23, 27, 1)
HSLhsl(69, 93%, 5%)
HSVhsv(69, 96%, 11%)
CMYKcmyk(14.8%, 0%, 96.3%, 89.4%)
CIE-LABlab(8.72, -6.85, 12.52)
CIE-LCHlch(8.72, 14.27, 118.66°)
OKLaboklab(21.08% -0.0213 0.0414)
OKLCHoklch(21.08% 0.047 117.2)
XYZxyz(0.7508, 0.9682, 0.1760)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171B01 #05011B
analogous
#1B1201 #171B01 #0A1B01
triadic
#171B01 #01171B #1B0117
tetradic
#171B01 #011B12 #05011B #1B010A
square
#171B01 #011B12 #05011B #1B010A
split-complementary
#171B01 #010A1B #12011B
monochromatic
#191E01 #191E01 #191E01 #495603 #7C9105

Accessibility & contrast

On white

17.59
#171B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#171B01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171B01
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171B01#FFFFFF#000000##FFFFFF
##171B011.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1900
Deuteranopia (green-blind)
#1D1902
Tritanopia (blue-blind)
#191915
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #171b01;
/* rgb */ color: rgb(23, 27, 1);
/* oklch */ color: oklch(21.1% 0.047 117.2);
Tailwind
colors: {
  custom: {
    50: '#535747',
    500: '#171b01',
    950: '#000000',
  },
}
SCSS
$custom: #171b01;
$custom-light: #535747;
$custom-dark: #000000;
JSON
{
  "hex": "#171b01",
  "rgb": {
    "r": 23,
    "g": 27,
    "b": 1
  },
  "hsl": {
    "h": 69.231,
    "s": 92.857,
    "l": 5.49
  },
  "oklch": {
    "l": 0.21075,
    "c": 0.04655,
    "h": 117.2
  },
  "luminance": 0.00968
}

Semantic roles & 50–950 ramp

primary
#171B01
secondary
#211563
accent
#29FF4A
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#020300
muted
#787877

Preview Lab

Preview with #171B01

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

Preview Lab → · Contrast checker → · Palette generator →

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