#342B18

Closest named color: Pakistan Green (#283618). oklch(29.4% 0.034 85.1), rgb(52, 43, 24).

Aa

White text reads best on this color (13.95:1).

About this color

#342B18 is a dark, muted brown. In OKLCH its lightness is 29%, its chroma 0.034 and its hue 85°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.041 away. White text reads best on it, at 13.95:1.

Hue familyBrowns
Lightnessdark (29%)
Chromamuted (0.034)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.50:1
White text13.95:1

Values

HEX#342B18
RGBrgb(52, 43, 24)
HSLhsl(41, 37%, 15%)
OKLCHoklch(29.4% 0.034 85.1)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #342B18 13.95:1 AAA Lc -103.6 Preferred for body text
Black text on #342B18 1.50:1 Fails Lc 0.0 Not readable
#342B18 text on white 13.95:1 AAA Lc 100.6 Preferred for body text
#342B18 text on black 1.50: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.

  1. Step 50

    50

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #EDE9E1

    oklch(93.5% 0.012 84.6)

  3. Step 200

    200

    #E0D8C9

    oklch(88.5% 0.022 83.3)

  4. Step 300

    300

    #CDBFA4

    oklch(80.9% 0.04 83.8)

  5. Step 400

    400

    #B39E72

    oklch(70.7% 0.065 85.3)

  6. Step 500

    500

    #A0864D

    oklch(63.1% 0.082 85.6)

  7. Step 600

    600

    #8B6F2F

    oklch(55.6% 0.089 85.3)

  8. Step 700

    700

    #765D22

    oklch(49.2% 0.083 85.6)

  9. Step 800

    800

    #604C1E

    oklch(42.7% 0.068 85.5)

  10. Step 900

    900

    #4F3F1E

    oklch(37.7% 0.054 83.9)

  11. Step 950

    950 (this color)

    #342B18

    oklch(29.4% 0.034 85.1)

Export this scale for Tailwind in the Tailwind colors tool

#342B18 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#2F2B170.010
Deuteranopia (no green cones)#322D190.007
Tritanopia (no blue cones)#3828260.030
Achromatopsia (no color)#2C2C2C0.034

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #342B18

    #342B18

    oklch(29.4% 0.034 85.1)

  • #242C3D

    #242C3D

    oklch(29.3% 0.033 264.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342B18

    #342B18

    oklch(29.4% 0.034 85.1)

  • #3A281C

    #3A281C

    oklch(29.5% 0.034 54.7)

  • #2C2E1A

    #2C2E1A

    oklch(29.3% 0.034 113.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #342B18

    #342B18

    oklch(29.4% 0.034 85.1)

  • #1B2F3B

    #1B2F3B

    oklch(29.4% 0.034 235.9)

  • #2D293C

    #2D293C

    oklch(29.4% 0.034 293.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342B18

    #342B18

    oklch(29.4% 0.034 85.1)

  • #163134

    #163134

    oklch(29.3% 0.033 204.9)

  • #352636

    #352636

    oklch(29.3% 0.035 324.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342B18

    #342B18

    oklch(29.4% 0.034 85.1)

  • #19322B

    #19322B

    oklch(29.4% 0.034 173.9)

  • #242C3D

    #242C3D

    oklch(29.3% 0.033 264.9)

  • #3A252D

    #3A252D

    oklch(29.3% 0.034 354.9)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #342B18, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #342B18 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.