#171A06#171A06

#171A06 is a very dark, muted yellow. Relative luminance 0.009; OKLCH L 20.9% C 0.036 H 116.5°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#171A06
RGBrgb(23, 26, 6)
HSLhsl(69, 63%, 6%)
HSVhsv(69, 77%, 10%)
CMYKcmyk(11.5%, 0%, 76.9%, 89.8%)
CIE-LABlab(8.43, -5.38, 10.06)
CIE-LCHlch(8.43, 11.41, 118.15°)
OKLaboklab(20.87% -0.0159 0.032)
OKLCHoklch(20.87% 0.036 116.5)
XYZxyz(0.7556, 0.9341, 0.3128)
Luminance0.0093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171A06 #09061A
analogous
#1A1306 #171A06 #0D1A06
triadic
#171A06 #06171A #1A0617
tetradic
#171A06 #061A13 #09061A #1A060D
square
#171A06 #061A13 #09061A #1A060D
split-complementary
#171A06 #060D1A #13061A
monochromatic
#161906 #161906 #171A06 #434C11 #6F7D1D

Accessibility & contrast

On white

17.69
#171A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171A06
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171A06#FFFFFF#000000##FFFFFF
##171A061.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171a06;
/* rgb */ color: rgb(23, 26, 6);
/* oklch */ color: oklch(20.9% 0.036 116.5);
Tailwind
colors: {
  custom: {
    50: '#535649',
    500: '#171a06',
    950: '#000000',
  },
}
SCSS
$custom: #171a06;
$custom-light: #535649;
$custom-dark: #000000;
JSON
{
  "hex": "#171a06",
  "rgb": {
    "r": 23,
    "g": 26,
    "b": 6
  },
  "hsl": {
    "h": 69,
    "s": 62.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.2087,
    "c": 0.03571,
    "h": 116.5
  },
  "luminance": 0.00934
}

Semantic roles & 50–950 ramp

primary
#171A06
secondary
#2B2359
accent
#42E65B
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #171A06

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

Preview Lab → · Contrast checker → · Palette generator →

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