#172104#172104

#172104 is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 23.0% C 0.051 H 125.9°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#172104
RGBrgb(23, 33, 4)
HSLhsl(81, 78%, 7%)
HSVhsv(81, 88%, 13%)
CMYKcmyk(30.3%, 0%, 87.9%, 87.1%)
CIE-LABlab(11.13, -10.39, 14.70)
CIE-LCHlch(11.13, 18.00, 125.26°)
OKLaboklab(23.03% -0.0299 0.0412)
OKLCHoklch(23.03% 0.051 125.9)
XYZxyz(0.9191, 1.2786, 0.3132)
Luminance0.0128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172104 #0E0421
analogous
#211D04 #172104 #082104
triadic
#172104 #041721 #210417
tetradic
#172104 #04211D #0E0421 #210408
square
#172104 #04211D #0E0421 #210408
split-complementary
#172104 #040821 #1D0421
monochromatic
#131B03 #131B03 #172104 #3D580B #638E11

Accessibility & contrast

On white

16.72
#172104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#172104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172104
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172104#FFFFFF#000000##FFFFFF
##1721041.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E02
Deuteranopia (green-blind)
#221E06
Tritanopia (blue-blind)
#181F1B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #172104;
/* rgb */ color: rgb(23, 33, 4);
/* oklch */ color: oklch(23.0% 0.051 125.9);
Tailwind
colors: {
  custom: {
    50: '#545c48',
    500: '#172104',
    950: '#000000',
  },
}
SCSS
$custom: #172104;
$custom-light: #545c48;
$custom-dark: #000000;
JSON
{
  "hex": "#172104",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 4
  },
  "hsl": {
    "h": 80.69,
    "s": 78.378,
    "l": 7.255
  },
  "oklch": {
    "l": 0.2303,
    "c": 0.05093,
    "h": 125.9
  },
  "luminance": 0.01279
}

Semantic roles & 50–950 ramp

primary
#172104
secondary
#351D64
accent
#33F576
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #172104

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

Preview Lab → · Contrast checker → · Palette generator →

#172104 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva