#171C04
Closest named color: Dark Brown (#341C02). oklch(21.5% 0.043 119.6), rgb(23, 28, 4).
Aa
White text reads best on this color (17.43:1).
About this color
#171C04 is a very dark, muted brown. In OKLCH its lightness is 21%, its chroma 0.043 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.060 away. White text reads best on it, at 17.43:1.
| Hue family | Browns |
| Lightness | very dark (21%) |
| Chroma | muted (0.043) |
| Temperature | in between |
| Nearest name | Dark Brown (#341C02) |
| Black text | 1.20:1 |
| White text | 17.43:1 |
Values
| HEX | #171C04 |
| RGB | rgb(23, 28, 4) |
| HSL | hsl(73, 75%, 6%) |
| OKLCH | oklch(21.5% 0.043 119.6) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #171C04 | 17.43:1 | AAA | Lc -106.5 | Preferred for body text |
| Black text on #171C04 | 1.20:1 | Fails | Lc 0.0 | Not readable |
| #171C04 text on white | 17.43:1 | AAA | Lc 104.2 | Preferred for body text |
| #171C04 text on black | 1.20:1 | Fails | Lc 0.0 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.
-
Step 50
50
#F5F6F1
oklch(97.1% 0.007 115.7)
-
Step 100
100
#E8EBE1
oklch(93.5% 0.014 120.3)
-
Step 200
200
#D6DCC8
oklch(88.4% 0.028 120.6)
-
Step 300
300
#BCC6A2
oklch(80.9% 0.05 120.1)
-
Step 400
400
#9AA86E
oklch(70.6% 0.081 119.6)
-
Step 500
500
#829247
oklch(63% 0.102 119.4)
-
Step 600
600
#6C7C26
oklch(55.6% 0.111 119.3)
-
Step 700
700
#5A6918
oklch(49.2% 0.104 119.7)
-
Step 800
800
#495517
oklch(42.5% 0.086 119.7)
-
Step 900
900
#3D471A
oklch(37.8% 0.068 120.2)
-
Step 950
950 (this color)
#171C04
oklch(21.5% 0.043 119.6)
#171C04 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #1E1A02 | 0.014 |
| Deuteranopia (no green cones) | #1E1A05 | 0.016 |
| Tritanopia (no blue cones) | #191A17 | 0.037 |
| Achromatopsia (no color) | #1A1A1A | 0.043 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #171C04
#171C04
oklch(21.5% 0.043 119.6)
- #1C142A
#1C142A
oklch(21.3% 0.043 299.5)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #171C04, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Brown #341C02 ΔE 0.060
- Dark Forest Green #002D04 ΔE 0.065
- Very Dark Green #062E03 ΔE 0.067
- Jet #212529 ΔE 0.068
- Rich Black #0D1B2A ΔE 0.071
- Rich Navy #001219 ΔE 0.074
- Almost Black #070D0D ΔE 0.075
- Dark #1B2431 ΔE 0.079
Use #171C04 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.