#2A170F
Closest named color: Dark Brown (#341C02). oklch(22.8% 0.034 43.5), rgb(42, 23, 15).
Aa
White text reads best on this color (17.10:1).
About this color
#2A170F is a very dark, muted brown. In OKLCH its lightness is 23%, its chroma 0.034 and its hue 43°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.036 away. White text reads best on it, at 17.10:1.
| Hue family | Browns |
| Lightness | very dark (23%) |
| Chroma | muted (0.034) |
| Temperature | warm |
| Nearest name | Dark Brown (#341C02) |
| Black text | 1.22:1 |
| White text | 17.10:1 |
Values
| HEX | #2A170F |
| RGB | rgb(42, 23, 15) |
| HSL | hsl(18, 47%, 11%) |
| OKLCH | oklch(22.8% 0.034 43.5) |
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 #2A170F | 17.10:1 | AAA | Lc -106.3 | Preferred for body text |
| Black text on #2A170F | 1.22:1 | Fails | Lc 0.0 | Not readable |
| #2A170F text on white | 17.10:1 | AAA | Lc 103.9 | Preferred for body text |
| #2A170F 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
#F1E8E4
oklch(93.7% 0.011 45.7)
-
Step 200
200
#E7D5CD
oklch(88.5% 0.023 45.6)
-
Step 300
300
#D8B9AC
oklch(80.9% 0.04 44.1)
-
Step 400
400
#C49480
oklch(70.7% 0.065 43.7)
-
Step 500
500
#B47960
oklch(63.1% 0.083 43.8)
-
Step 600
600
#9F6147
oklch(55.6% 0.09 43.3)
-
Step 700
700
#885038
oklch(49.1% 0.084 43.6)
-
Step 800
800
#6F422F
oklch(42.8% 0.07 43.4)
-
Step 900
900
#5A382A
oklch(37.8% 0.054 43.1)
-
Step 950
950 (this color)
#2A170F
oklch(22.8% 0.034 43.5)
#2A170F 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) | #1C190E | 0.031 |
| Deuteranopia (no green cones) | #201D0F | 0.028 |
| Tritanopia (no blue cones) | #2E1415 | 0.018 |
| Achromatopsia (no color) | #1C1C1C | 0.034 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A170F
#2A170F
oklch(22.8% 0.034 43.5)
- #072028
#072028
oklch(22.8% 0.034 222.3)
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 #2A170F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Brown #341C02 ΔE 0.036
- Jet #212529 ΔE 0.055
- Chocolate Brown #411900 ΔE 0.056
- Dark Maroon #3C0008 ΔE 0.060
- Deep Brown #410200 ΔE 0.062
- Dark #1B2431 ΔE 0.066
- Rich Black #0D1B2A ΔE 0.069
- Mahogany #4A0100 ΔE 0.077
Use #2A170F 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.