#342D0F

Closest named color: Pakistan Green (#283618). oklch(29.7% 0.047 96.3), rgb(52, 45, 15).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (30%)
Chromamuted (0.047)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.52:1
White text13.74:1

Values

HEX#342D0F
RGBrgb(52, 45, 15)
HSLhsl(49, 55%, 13%)
OKLCHoklch(29.7% 0.047 96.3)

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 #342D0F 13.74:1 AAA Lc -103.3 Preferred for body text
Black text on #342D0F 1.52:1 Fails Lc 0.0 Not readable
#342D0F text on white 13.74:1 AAA Lc 100.3 Preferred for body text
#342D0F text on black 1.52: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

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #EDEADE

    oklch(93.6% 0.016 95.2)

  3. Step 200

    200

    #DFDAC3

    oklch(88.6% 0.031 96.9)

  4. Step 300

    300

    #CBC199

    oklch(80.9% 0.055 95.7)

  5. Step 400

    400

    #B1A15E

    oklch(70.8% 0.089 96.3)

  6. Step 500

    500

    #9E892B

    oklch(63.2% 0.113 96.2)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #726000

    oklch(49.2% 0.101 96.3)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4D4106

    oklch(37.7% 0.074 96.5)

  11. Step 950

    950 (this color)

    #342D0F

    oklch(29.7% 0.047 96.3)

Export this scale for Tailwind in the Tailwind colors tool

#342D0F 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)#322C0C0.006
Deuteranopia (no green cones)#342E100.003
Tritanopia (no blue cones)#3929260.043
Achromatopsia (no color)#2D2D2D0.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #342D0F

    #342D0F

    oklch(29.7% 0.047 96.3)

  • #272B44

    #272B44

    oklch(29.7% 0.046 276.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342D0F

    #342D0F

    oklch(29.7% 0.047 96.3)

  • #3D2812

    #3D2812

    oklch(29.7% 0.047 65.6)

  • #273117

    #273117

    oklch(29.6% 0.046 126.3)

Open the analogous palette in the generator

Split complementary

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

  • #342D0F

    #342D0F

    oklch(29.7% 0.047 96.3)

  • #182F43

    #182F43

    oklch(29.6% 0.047 246.4)

  • #332740

    #332740

    oklch(29.8% 0.047 305.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342D0F

    #342D0F

    oklch(29.7% 0.047 96.3)

  • #09333C

    #09333C

    oklch(29.8% 0.047 215.5)

  • #3C2436

    #3C2436

    oklch(29.8% 0.047 336.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342D0F

    #342D0F

    oklch(29.7% 0.047 96.3)

  • #083531

    #083531

    oklch(29.9% 0.047 186.2)

  • #272B44

    #272B44

    oklch(29.7% 0.046 276.3)

  • #412329

    #412329

    oklch(29.8% 0.046 7.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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