#171B05#171B05

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

Color values

HEX#171B05
RGBrgb(23, 27, 5)
HSLhsl(71, 69%, 6%)
HSVhsv(71, 81%, 11%)
CMYKcmyk(14.8%, 0%, 81.5%, 89.4%)
CIE-LABlab(8.80, -6.27, 11.00)
CIE-LCHlch(8.80, 12.66, 119.68°)
OKLaboklab(21.16% -0.0185 0.0345)
OKLCHoklch(21.16% 0.039 118.2)
XYZxyz(0.7727, 0.9770, 0.2914)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171B05 #09051B
analogous
#1B1405 #171B05 #0C1B05
triadic
#171B05 #05171B #1B0517
tetradic
#171B05 #051B14 #09051B #1B050C
square
#171B05 #051B14 #09051B #1B050C
split-complementary
#171B05 #050C1B #14051B
monochromatic
#161A05 #161A05 #171B05 #434F0F #6F8218

Accessibility & contrast

On white

17.57
#171B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171B05
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171B05#FFFFFF#000000##FFFFFF
##171B051.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171b05;
/* rgb */ color: rgb(23, 27, 5);
/* oklch */ color: oklch(21.2% 0.039 118.2);
Tailwind
colors: {
  custom: {
    50: '#535749',
    500: '#171b05',
    950: '#000000',
  },
}
SCSS
$custom: #171b05;
$custom-light: #535749;
$custom-dark: #000000;
JSON
{
  "hex": "#171b05",
  "rgb": {
    "r": 23,
    "g": 27,
    "b": 5
  },
  "hsl": {
    "h": 70.909,
    "s": 68.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.21159,
    "c": 0.03914,
    "h": 118.2
  },
  "luminance": 0.00977
}

Semantic roles & 50–950 ramp

primary
#171B05
secondary
#2B205C
accent
#3CEC5C
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #171B05

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

Preview Lab → · Contrast checker → · Palette generator →

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