#22170C
Closest named color: Dark Brown (#341C02). oklch(21.5% 0.027 65.6), rgb(34, 23, 12).
Aa
White text reads best on this color (17.56:1).
About this color
#22170C is a very dark close to neutral grey. In OKLCH its lightness is 22%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.047 away. White text reads best on it, at 17.56:1.
| Hue family | Neutrals |
| Lightness | very dark (22%) |
| Chroma | close to neutral grey (0.027) |
| Temperature | neutral |
| Nearest name | Dark Brown (#341C02) |
| Black text | 1.19:1 |
| White text | 17.56:1 |
Values
| HEX | #22170C |
| RGB | rgb(34, 23, 12) |
| HSL | hsl(30, 48%, 9%) |
| OKLCH | oklch(21.5% 0.027 65.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 #22170C | 17.56:1 | AAA | Lc -106.6 | Preferred for body text |
| Black text on #22170C | 1.19:1 | Fails | Lc 0.0 | Not readable |
| #22170C text on white | 17.56:1 | AAA | Lc 104.4 | Preferred for body text |
| #22170C text on black | 1.19: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
#F7F5F2
oklch(97.1% 0.005 78.3)
-
Step 100
100
#EEE9E4
oklch(93.7% 0.009 67.7)
-
Step 200
200
#E1D7CD
oklch(88.4% 0.018 67.6)
-
Step 300
300
#CFBDAC
oklch(80.9% 0.031 65.7)
-
Step 400
400
#B79B80
oklch(70.8% 0.05 65.8)
-
Step 500
500
#A58260
oklch(63.2% 0.064 65.4)
-
Step 600
600
#906B46
oklch(55.6% 0.07 65.5)
-
Step 700
700
#7A5938
oklch(49.1% 0.065 65.4)
-
Step 800
800
#63492E
oklch(42.7% 0.054 66.6)
-
Step 900
900
#513D29
oklch(37.7% 0.042 66)
-
Step 950
950 (this color)
#22170C
oklch(21.5% 0.027 65.6)
#22170C 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) | #1B180B | 0.015 |
| Deuteranopia (no green cones) | #1D1A0C | 0.014 |
| Tritanopia (no blue cones) | #251514 | 0.019 |
| Achromatopsia (no color) | #191919 | 0.027 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #22170C
#22170C
oklch(21.5% 0.027 65.6)
- #0F1B25
#0F1B25
oklch(21.6% 0.026 244.6)
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 #22170C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Brown #341C02 ΔE 0.047
- Jet #212529 ΔE 0.059
- Rich Black #0D1B2A ΔE 0.062
- Dark #1B2431 ΔE 0.069
- Almost Black #070D0D ΔE 0.072
- Chocolate Brown #411900 ΔE 0.072
- Very Dark Brown #1D0200 ΔE 0.073
- Rich Navy #001219 ΔE 0.073
Use #22170C 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.