#302B17
Closest named color: Pakistan Green (#283618). oklch(28.9% 0.034 95.8), rgb(48, 43, 23).
Aa
White text reads best on this color (14.15:1).
About this color
#302B17 is a dark, muted brown. In OKLCH its lightness is 29%, its chroma 0.034 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.039 away. White text reads best on it, at 14.15:1.
| Hue family | Browns |
| Lightness | dark (29%) |
| Chroma | muted (0.034) |
| Temperature | warm |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.48:1 |
| White text | 14.15:1 |
Values
| HEX | #302B17 |
| RGB | rgb(48, 43, 23) |
| HSL | hsl(48, 35%, 14%) |
| OKLCH | oklch(28.9% 0.034 95.8) |
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 #302B17 | 14.15:1 | AAA | Lc -103.8 | Preferred for body text |
| Black text on #302B17 | 1.48:1 | Fails | Lc 0.0 | Not readable |
| #302B17 text on white | 14.15:1 | AAA | Lc 100.8 | Preferred for body text |
| #302B17 text on black | 1.48: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
#F6F5F1
oklch(97% 0.005 95.1)
-
Step 100
100
#ECEAE1
oklch(93.6% 0.012 96.4)
-
Step 200
200
#DDD9C9
oklch(88.4% 0.022 95.3)
-
Step 300
300
#C8C1A4
oklch(80.9% 0.04 95.9)
-
Step 400
400
#ACA173
oklch(70.7% 0.064 96.3)
-
Step 500
500
#98894D
oklch(63% 0.082 95.7)
-
Step 600
600
#837330
oklch(55.6% 0.089 95.9)
-
Step 700
700
#6F6022
oklch(49.1% 0.083 95.5)
-
Step 800
800
#5A4F1E
oklch(42.8% 0.069 96.7)
-
Step 900
900
#4A411E
oklch(37.6% 0.053 95.2)
-
Step 950
950 (this color)
#302B17
oklch(28.9% 0.034 95.8)
#302B17 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) | #2F2A15 | 0.004 |
| Deuteranopia (no green cones) | #302C18 | 0.003 |
| Tritanopia (no blue cones) | #342826 | 0.031 |
| Achromatopsia (no color) | #2B2B2B | 0.034 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #302B17
#302B17
oklch(28.9% 0.034 95.8)
- #262A3C
#262A3C
oklch(28.9% 0.033 274.5)
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 #302B17, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.039
- Dark Brown #341C02 ΔE 0.047
- Jet #212529 ΔE 0.050
- Chocolate Brown #411900 ΔE 0.058
- Dark #1B2431 ΔE 0.068
- Gunmetal #293241 ΔE 0.068
- Very Dark Green #062E03 ΔE 0.068
- Dark Forest Green #002D04 ΔE 0.073
Use #302B17 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.