#342D21
Closest named color: Pakistan Green (#283618). oklch(30.1% 0.023 81), rgb(52, 45, 33).
Aa
White text reads best on this color (13.60:1).
About this color
#342D21 is a dark close to neutral grey. In OKLCH its lightness is 30%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Pakistan Green (#283618), ΔE 0.043 away. White text reads best on it, at 13.60:1.
| Hue family | Neutrals |
| Lightness | dark (30%) |
| Chroma | close to neutral grey (0.023) |
| Temperature | neutral |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.54:1 |
| White text | 13.60:1 |
Values
| HEX | #342D21 |
| RGB | rgb(52, 45, 33) |
| HSL | hsl(38, 22%, 17%) |
| OKLCH | oklch(30.1% 0.023 81) |
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 #342D21 | 13.60:1 | AAA | Lc -103.2 | Preferred for body text |
| Black text on #342D21 | 1.54:1 | Fails | Lc 0.0 | Not readable |
| #342D21 text on white | 13.60:1 | AAA | Lc 100.1 | Preferred for body text |
| #342D21 text on black | 1.54: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
#ECE9E4
oklch(93.5% 0.007 80.7)
-
Step 200
200
#DED8CE
oklch(88.4% 0.015 80.7)
-
Step 300
300
#CABFAD
oklch(80.9% 0.028 80.2)
-
Step 400
400
#AF9E82
oklch(70.7% 0.044 80.2)
-
Step 500
500
#9B8663
oklch(63% 0.055 80.2)
-
Step 600
600
#86704A
oklch(55.7% 0.06 80.7)
-
Step 700
700
#715E3B
oklch(49.2% 0.056 82)
-
Step 800
800
#5C4C31
oklch(42.6% 0.046 80.1)
-
Step 900
900
#4B402B
oklch(37.7% 0.036 83.2)
-
Step 950
950 (this color)
#342D21
oklch(30.1% 0.023 81)
#342D21 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) | #302D20 | 0.008 |
| Deuteranopia (no green cones) | #322F21 | 0.007 |
| Tritanopia (no blue cones) | #372B2A | 0.020 |
| Achromatopsia (no color) | #2E2E2E | 0.023 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #342D21
#342D21
oklch(30.1% 0.023 81)
- #282E3A
#282E3A
oklch(30.1% 0.023 264.1)
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 #342D21, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.043
- Jet #212529 ΔE 0.050
- Gunmetal #293241 ΔE 0.055
- Onyx #343A40 ΔE 0.057
- Dark Brown #341C02 ΔE 0.058
- Space Cadet #2B2D42 ΔE 0.060
- Chocolate Brown #411900 ΔE 0.062
- Dark #1B2431 ΔE 0.067
Use #342D21 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.