#171B06#171B06

#171B06 is a very dark, muted yellow-green. Relative luminance 0.010; OKLCH L 21.2% C 0.037 H 118.5°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#171B06
RGBrgb(23, 27, 6)
HSLhsl(71, 64%, 6%)
HSVhsv(71, 78%, 11%)
CMYKcmyk(14.8%, 0%, 77.8%, 89.4%)
CIE-LABlab(8.82, -6.13, 10.62)
CIE-LCHlch(8.82, 12.26, 119.98°)
OKLaboklab(21.18% -0.0179 0.0329)
OKLCHoklch(21.18% 0.037 118.5)
XYZxyz(0.7782, 0.9792, 0.3203)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171B06 #0A061B
analogous
#1B1506 #171B06 #0D1B06
triadic
#171B06 #06171B #1B0617
tetradic
#171B06 #061B15 #0A061B #1B060D
square
#171B06 #061B15 #0A061B #1B060D
split-complementary
#171B06 #060D1B #15061B
monochromatic
#151906 #151906 #171B06 #424D11 #6C7F1C

Accessibility & contrast

On white

17.56
#171B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#171B06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171B06
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171B06#FFFFFF#000000##FFFFFF
##171B061.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1904
Deuteranopia (green-blind)
#1D1907
Tritanopia (blue-blind)
#191916
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #171b06;
/* rgb */ color: rgb(23, 27, 6);
/* oklch */ color: oklch(21.2% 0.037 118.5);
Tailwind
colors: {
  custom: {
    50: '#535749',
    500: '#171b06',
    950: '#000000',
  },
}
SCSS
$custom: #171b06;
$custom-light: #535749;
$custom-dark: #000000;
JSON
{
  "hex": "#171b06",
  "rgb": {
    "r": 23,
    "g": 27,
    "b": 6
  },
  "hsl": {
    "h": 71.429,
    "s": 63.636,
    "l": 6.471
  },
  "oklch": {
    "l": 0.2118,
    "c": 0.03744,
    "h": 118.5
  },
  "luminance": 0.00979
}

Semantic roles & 50–950 ramp

primary
#171B06
secondary
#2D235A
accent
#41E761
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #171B06

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

Preview Lab → · Contrast checker → · Palette generator →

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