#31170D
Closest named color: Dark Brown (#341C02). oklch(23.9% 0.046 41.4), rgb(49, 23, 13).
Aa
White text reads best on this color (16.68:1).
About this color
#31170D is a very dark, muted brown. In OKLCH its lightness is 24%, its chroma 0.046 and its hue 41°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.026 away. White text reads best on it, at 16.68:1.
| Hue family | Browns |
| Lightness | very dark (24%) |
| Chroma | muted (0.046) |
| Temperature | warm |
| Nearest name | Dark Brown (#341C02) |
| Black text | 1.25:1 |
| White text | 16.68:1 |
Values
| HEX | #31170D |
| RGB | rgb(49, 23, 13) |
| HSL | hsl(17, 58%, 12%) |
| OKLCH | oklch(23.9% 0.046 41.4) |
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 #31170D | 16.68:1 | AAA | Lc -105.9 | Preferred for body text |
| Black text on #31170D | 1.25:1 | Fails | Lc 0.0 | Not readable |
| #31170D text on white | 16.68:1 | AAA | Lc 103.5 | Preferred for body text |
| #31170D text on black | 1.25: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
#FAF4F2
oklch(97.1% 0.007 39.5)
-
Step 100
100
#F4E7E2
oklch(93.7% 0.016 42.4)
-
Step 200
200
#ECD3CA
oklch(88.5% 0.031 40.9)
-
Step 300
300
#E0B6A6
oklch(80.9% 0.054 41.9)
-
Step 400
400
#CF8F76
oklch(70.7% 0.086 42.2)
-
Step 500
500
#C17153
oklch(63% 0.11 41.1)
-
Step 600
600
#AD5837
oklch(55.7% 0.121 41.3)
-
Step 700
700
#944829
oklch(49.2% 0.112 41.9)
-
Step 800
800
#783B23
oklch(42.6% 0.093 41.5)
-
Step 900
900
#613322
oklch(37.6% 0.072 40.8)
-
Step 950
950 (this color)
#31170D
oklch(23.9% 0.046 41.4)
#31170D 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) | #1E1B0C | 0.043 |
| Deuteranopia (no green cones) | #24200D | 0.039 |
| Tritanopia (no blue cones) | #361215 | 0.025 |
| Achromatopsia (no color) | #1E1E1E | 0.046 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31170D
#31170D
oklch(23.9% 0.046 41.4)
- #00242E
#00242E
oklch(24.1% 0.044 220.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 #31170D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Brown #341C02 ΔE 0.026
- Chocolate Brown #411900 ΔE 0.041
- Deep Brown #410200 ΔE 0.050
- Dark Maroon #3C0008 ΔE 0.052
- Jet #212529 ΔE 0.059
- Mahogany #4A0100 ΔE 0.063
- Dark #1B2431 ΔE 0.073
- Rich Black #0D1B2A ΔE 0.082
Use #31170D 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.