#2A170C
Closest named color: Dark Brown (#341C02). oklch(22.8% 0.037 50.2), rgb(42, 23, 12).
Aa
White text reads best on this color (17.12:1).
About this color
#2A170C is a very dark, muted brown. In OKLCH its lightness is 23%, its chroma 0.037 and its hue 50°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.033 away. White text reads best on it, at 17.12:1.
| Hue family | Browns |
| Lightness | very dark (23%) |
| Chroma | muted (0.037) |
| Temperature | warm |
| Nearest name | Dark Brown (#341C02) |
| Black text | 1.22:1 |
| White text | 17.12:1 |
Values
| HEX | #2A170C |
| RGB | rgb(42, 23, 12) |
| HSL | hsl(22, 56%, 11%) |
| OKLCH | oklch(22.8% 0.037 50.2) |
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 #2A170C | 17.12:1 | AAA | Lc -106.3 | Preferred for body text |
| Black text on #2A170C | 1.22:1 | Fails | Lc 0.0 | Not readable |
| #2A170C text on white | 17.12:1 | AAA | Lc 103.9 | Preferred for body text |
| #2A170C text on black | 1.22: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
#F9F4F2
oklch(97% 0.006 43.3)
-
Step 100
100
#F1E8E3
oklch(93.7% 0.012 51.3)
-
Step 200
200
#E7D5CB
oklch(88.5% 0.024 51.1)
-
Step 300
300
#D9B9A8
oklch(80.9% 0.044 49.7)
-
Step 400
400
#C5947A
oklch(70.7% 0.07 49.1)
-
Step 500
500
#B57958
oklch(63.1% 0.089 49.4)
-
Step 600
600
#A0613D
oklch(55.5% 0.096 49.6)
-
Step 700
700
#89502F
oklch(49.1% 0.09 49.6)
-
Step 800
800
#6F4228
oklch(42.7% 0.074 49.8)
-
Step 900
900
#5A3825
oklch(37.7% 0.057 49.5)
-
Step 950
950 (this color)
#2A170C
oklch(22.8% 0.037 50.2)
#2A170C 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) | #1C190B | 0.031 |
| Deuteranopia (no green cones) | #211D0C | 0.027 |
| Tritanopia (no blue cones) | #2E1314 | 0.023 |
| Achromatopsia (no color) | #1C1C1C | 0.037 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A170C
#2A170C
oklch(22.8% 0.037 50.2)
- #071F2A
#071F2A
oklch(22.6% 0.036 231.1)
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 #2A170C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Brown #341C02 ΔE 0.033
- Chocolate Brown #411900 ΔE 0.055
- Jet #212529 ΔE 0.057
- Dark Maroon #3C0008 ΔE 0.062
- Deep Brown #410200 ΔE 0.062
- Dark #1B2431 ΔE 0.070
- Rich Black #0D1B2A ΔE 0.072
- Mahogany #4A0100 ΔE 0.078
Use #2A170C 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.