#342D20

Closest named color: Pakistan Green (#283618). oklch(30.1% 0.024 82.8), rgb(52, 45, 32).

Aa

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

About this color

#342D20 is a dark close to neutral grey. In OKLCH its lightness is 30%, its chroma 0.024. It has too little chroma to lean warm or cool. The nearest named color is Pakistan Green (#283618), ΔE 0.042 away. White text reads best on it, at 13.61:1.

Hue familyNeutrals
Lightnessdark (30%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest namePakistan Green (#283618)
Black text1.54:1
White text13.61:1

Values

HEX#342D20
RGBrgb(52, 45, 32)
HSLhsl(39, 24%, 16%)
OKLCHoklch(30.1% 0.024 82.8)

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 #342D20 13.61:1 AAA Lc -103.2 Preferred for body text
Black text on #342D20 1.54:1 Fails Lc 0.0 Not readable
#342D20 text on white 13.61:1 AAA Lc 100.1 Preferred for body text
#342D20 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.

  1. Step 50

    50

    #F7F5F3

    oklch(97.1% 0.003 67.8)

  2. Step 100

    100

    #ECE9E4

    oklch(93.5% 0.007 80.7)

  3. Step 200

    200

    #DED8CE

    oklch(88.4% 0.015 80.7)

  4. Step 300

    300

    #CABFAC

    oklch(80.9% 0.029 81.5)

  5. Step 400

    400

    #AF9E80

    oklch(70.6% 0.046 81.8)

  6. Step 500

    500

    #9B8760

    oklch(63.2% 0.059 83.7)

  7. Step 600

    600

    #867047

    oklch(55.6% 0.064 82.3)

  8. Step 700

    700

    #715E38

    oklch(49.1% 0.06 83.8)

  9. Step 800

    800

    #5C4D2F

    oklch(42.8% 0.049 83.9)

  10. Step 900

    900

    #4C402A

    oklch(37.8% 0.038 82.2)

  11. Step 950

    950 (this color)

    #342D20

    oklch(30.1% 0.024 82.8)

Export this scale for Tailwind in the Tailwind colors tool

#342D20 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)#302D1F0.008
Deuteranopia (no green cones)#322F200.007
Tritanopia (no blue cones)#372B2A0.022
Achromatopsia (no color)#2E2E2E0.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #342D20

    #342D20

    oklch(30.1% 0.024 82.8)

  • #272E3A

    #272E3A

    oklch(30% 0.024 261.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342D20

    #342D20

    oklch(30.1% 0.024 82.8)

  • #382B23

    #382B23

    oklch(30.1% 0.024 53.2)

  • #2E2F21

    #2E2F21

    oklch(30% 0.024 111.2)

Open the analogous palette in the generator

Split complementary

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

  • #342D20

    #342D20

    oklch(30.1% 0.024 82.8)

  • #223038

    #223038

    oklch(30% 0.024 233.6)

  • #2E2C39

    #2E2C39

    oklch(30.1% 0.023 292)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342D20

    #342D20

    oklch(30.1% 0.024 82.8)

  • #1F3233

    #1F3233

    oklch(30.1% 0.025 200.1)

  • #342A35

    #342A35

    oklch(30.1% 0.024 323.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342D20

    #342D20

    oklch(30.1% 0.024 82.8)

  • #21322D

    #21322D

    oklch(30% 0.024 174.4)

  • #272E3A

    #272E3A

    oklch(30% 0.024 261.2)

  • #38292F

    #38292F

    oklch(30.1% 0.024 352.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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