#342D1B

Closest named color: Pakistan Green (#283618). oklch(30% 0.032 89.1), rgb(52, 45, 27).

Aa

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

About this color

#342D1B is a dark, muted brown. In OKLCH its lightness is 30%, its chroma 0.032 and its hue 89°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.037 away. White text reads best on it, at 13.66:1.

Hue familyBrowns
Lightnessdark (30%)
Chromamuted (0.032)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.53:1
White text13.66:1

Values

HEX#342D1B
RGBrgb(52, 45, 27)
HSLhsl(43, 32%, 15%)
OKLCHoklch(30% 0.032 89.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 #342D1B 13.66:1 AAA Lc -103.3 Preferred for body text
Black text on #342D1B 1.53:1 Fails Lc 0.0 Not readable
#342D1B text on white 13.66:1 AAA Lc 100.2 Preferred for body text
#342D1B text on black 1.53: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

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #EDEAE2

    oklch(93.7% 0.011 89.7)

  3. Step 200

    200

    #DED9CA

    oklch(88.5% 0.021 91.6)

  4. Step 300

    300

    #CAC0A6

    oklch(80.9% 0.037 89.5)

  5. Step 400

    400

    #AF9F76

    oklch(70.6% 0.059 89.2)

  6. Step 500

    500

    #9C8752

    oklch(63% 0.076 88.6)

  7. Step 600

    600

    #877135

    oklch(55.7% 0.084 89.4)

  8. Step 700

    700

    #725E28

    oklch(49% 0.077 88.9)

  9. Step 800

    800

    #5D4D22

    oklch(42.7% 0.064 89.1)

  10. Step 900

    900

    #4C4021

    oklch(37.6% 0.05 88.8)

  11. Step 950

    950 (this color)

    #342D1B

    oklch(30% 0.032 89.1)

Export this scale for Tailwind in the Tailwind colors tool

#342D1B 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)#312C1A0.007
Deuteranopia (no green cones)#332E1C0.003
Tritanopia (no blue cones)#382A280.028
Achromatopsia (no color)#2E2E2E0.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #342D1B

    #342D1B

    oklch(30% 0.032 89.1)

  • #272D3E

    #272D3E

    oklch(29.9% 0.032 269.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342D1B

    #342D1B

    oklch(30% 0.032 89.1)

  • #3A2A1E

    #3A2A1E

    oklch(30% 0.031 58.1)

  • #2C301E

    #2C301E

    oklch(30% 0.031 118.5)

Open the analogous palette in the generator

Split complementary

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

  • #342D1B

    #342D1B

    oklch(30% 0.032 89.1)

  • #1F303C

    #1F303C

    oklch(30% 0.031 239.9)

  • #302A3B

    #302A3B

    oklch(29.9% 0.031 300.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342D1B

    #342D1B

    oklch(30% 0.032 89.1)

  • #193236

    #193236

    oklch(29.9% 0.032 208.8)

  • #372835

    #372835

    oklch(30% 0.031 330.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342D1B

    #342D1B

    oklch(30% 0.032 89.1)

  • #1B332E

    #1B332E

    oklch(30% 0.032 179.2)

  • #272D3E

    #272D3E

    oklch(29.9% 0.032 269.4)

  • #3B272D

    #3B272D

    oklch(29.9% 0.032 359.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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