#21170F
Closest named color: Dark Brown (#341C02). oklch(21.5% 0.022 59.9), rgb(33, 23, 15).
Aa
White text reads best on this color (17.58:1).
About this color
#21170F is a very dark close to neutral grey. In OKLCH its lightness is 21%, its chroma 0.022. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.051 away. White text reads best on it, at 17.58:1.
| Hue family | Neutrals |
| Lightness | very dark (21%) |
| Chroma | close to neutral grey (0.022) |
| Temperature | neutral |
| Nearest name | Dark Brown (#341C02) |
| Black text | 1.19:1 |
| White text | 17.58:1 |
Values
| HEX | #21170F |
| RGB | rgb(33, 23, 15) |
| HSL | hsl(27, 38%, 9%) |
| OKLCH | oklch(21.5% 0.022 59.9) |
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 #21170F | 17.58:1 | AAA | Lc -106.6 | Preferred for body text |
| Black text on #21170F | 1.19:1 | Fails | Lc 0.0 | Not readable |
| #21170F text on white | 17.58:1 | AAA | Lc 104.4 | Preferred for body text |
| #21170F 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
#F7F5F3
oklch(97.1% 0.003 67.8)
-
Step 100
100
#EEE9E5
oklch(93.7% 0.008 61.4)
-
Step 200
200
#E1D7D0
oklch(88.5% 0.015 57.6)
-
Step 300
300
#CEBDB0
oklch(80.9% 0.026 59.8)
-
Step 400
400
#B59B87
oklch(70.7% 0.042 59.6)
-
Step 500
500
#A28269
oklch(63% 0.053 59.6)
-
Step 600
600
#8D6B51
oklch(55.5% 0.058 58.6)
-
Step 700
700
#785A41
oklch(49.2% 0.054 60.9)
-
Step 800
800
#614936
oklch(42.6% 0.044 59.6)
-
Step 900
900
#503D2F
oklch(37.7% 0.035 57.8)
-
Step 950
950 (this color)
#21170F
oklch(21.5% 0.022 59.9)
#21170F 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) | #1A180E | 0.015 |
| Deuteranopia (no green cones) | #1C1A0F | 0.014 |
| Tritanopia (no blue cones) | #241515 | 0.016 |
| Achromatopsia (no color) | #191919 | 0.022 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #21170F
#21170F
oklch(21.5% 0.022 59.9)
- #101B23
#101B23
oklch(21.6% 0.022 240.7)
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 #21170F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Brown #341C02 ΔE 0.051
- Jet #212529 ΔE 0.057
- Rich Black #0D1B2A ΔE 0.057
- Dark #1B2431 ΔE 0.065
- Almost Black #070D0D ΔE 0.069
- Rich Navy #001219 ΔE 0.070
- Very Dark Brown #1D0200 ΔE 0.073
- Chocolate Brown #411900 ΔE 0.075
Use #21170F 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.