#342F17
Closest named color: Pakistan Green (#283618). oklch(30.4% 0.039 97.9), rgb(52, 47, 23).
Aa
White text reads best on this color (13.41:1).
About this color
#342F17 is a dark, muted brown. In OKLCH its lightness is 30%, its chroma 0.039 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.029 away. White text reads best on it, at 13.41:1.
| Hue family | Browns |
| Lightness | dark (30%) |
| Chroma | muted (0.039) |
| Temperature | warm |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.56:1 |
| White text | 13.41:1 |
Values
| HEX | #342F17 |
| RGB | rgb(52, 47, 23) |
| HSL | hsl(50, 39%, 15%) |
| OKLCH | oklch(30.4% 0.039 97.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 #342F17 | 13.41:1 | AAA | Lc -103.0 | Preferred for body text |
| Black text on #342F17 | 1.56:1 | Fails | Lc 0.0 | Not readable |
| #342F17 text on white | 13.41:1 | AAA | Lc 99.8 | Preferred for body text |
| #342F17 text on black | 1.56: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
#ECEAE0
oklch(93.6% 0.013 97.4)
-
Step 200
200
#DDDAC7
oklch(88.6% 0.026 99.6)
-
Step 300
300
#C8C1A0
oklch(80.8% 0.045 97.4)
-
Step 400
400
#ADA16B
oklch(70.6% 0.074 97.2)
-
Step 500
500
#998A41
oklch(63.1% 0.095 97.9)
-
Step 600
600
#84731E
oklch(55.6% 0.103 97.4)
-
Step 700
700
#6F610F
oklch(49.2% 0.096 98.6)
-
Step 800
800
#5B4F11
oklch(42.7% 0.08 97.7)
-
Step 900
900
#4A4217
oklch(37.7% 0.062 98.8)
-
Step 950
950 (this color)
#342F17
oklch(30.4% 0.039 97.9)
#342F17 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) | #332E15 | 0.004 |
| Deuteranopia (no green cones) | #353018 | 0.004 |
| Tritanopia (no blue cones) | #382C29 | 0.035 |
| Achromatopsia (no color) | #2F2F2F | 0.039 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #342F17
#342F17
oklch(30.4% 0.039 97.9)
- #2A2D42
#2A2D42
oklch(30.4% 0.038 277.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 #342F17, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.029
- Dark Brown #341C02 ΔE 0.059
- Dark Olive #373E02 ΔE 0.060
- Jet #212529 ΔE 0.063
- Chocolate Brown #411900 ΔE 0.064
- Onyx #343A40 ΔE 0.066
- Gunmetal #293241 ΔE 0.069
- Very Dark Green #062E03 ΔE 0.073
Use #342F17 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.