#342C20

Closest named color: Pakistan Green (#283618). oklch(29.8% 0.024 77.7), rgb(52, 44, 32).

Aa

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

About this color

#342C20 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.045 away. White text reads best on it, at 13.75:1.

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

Values

HEX#342C20
RGBrgb(52, 44, 32)
HSLhsl(36, 24%, 16%)
OKLCHoklch(29.8% 0.024 77.7)

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 #342C20 13.75:1 AAA Lc -103.4 Preferred for body text
Black text on #342C20 1.52:1 Fails Lc 0.0 Not readable
#342C20 text on white 13.75:1 AAA Lc 100.3 Preferred for body text
#342C20 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

    #F7F5F3

    oklch(97.1% 0.003 67.8)

  2. Step 100

    100

    #EDE9E4

    oklch(93.6% 0.008 73.7)

  3. Step 200

    200

    #DFD8CE

    oklch(88.5% 0.016 77.1)

  4. Step 300

    300

    #CBBFAD

    oklch(81% 0.028 78.2)

  5. Step 400

    400

    #B09E82

    oklch(70.8% 0.044 78.8)

  6. Step 500

    500

    #9D8662

    oklch(63.2% 0.058 78.6)

  7. Step 600

    600

    #886F49

    oklch(55.7% 0.062 77.4)

  8. Step 700

    700

    #735D3A

    oklch(49.2% 0.058 78.4)

  9. Step 800

    800

    #5E4C30

    oklch(42.8% 0.049 77.9)

  10. Step 900

    900

    #4D3F2B

    oklch(37.7% 0.037 76.1)

  11. Step 950

    950 (this color)

    #342C20

    oklch(29.8% 0.024 77.7)

Export this scale for Tailwind in the Tailwind colors tool

#342C20 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)#2F2C1F0.010
Deuteranopia (no green cones)#312E200.008
Tritanopia (no blue cones)#372A290.020
Achromatopsia (no color)#2D2D2D0.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #342C20

    #342C20

    oklch(29.8% 0.024 77.7)

  • #262E39

    #262E39

    oklch(29.8% 0.023 256.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342C20

    #342C20

    oklch(29.8% 0.024 77.7)

  • #382A23

    #382A23

    oklch(29.9% 0.024 47.9)

  • #2E2E21

    #2E2E21

    oklch(29.7% 0.022 107.7)

Open the analogous palette in the generator

Split complementary

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

  • #342C20

    #342C20

    oklch(29.8% 0.024 77.7)

  • #213037

    #213037

    oklch(29.9% 0.024 228.4)

  • #2C2C39

    #2C2C39

    oklch(29.9% 0.023 284.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342C20

    #342C20

    oklch(29.8% 0.024 77.7)

  • #1F3132

    #1F3132

    oklch(29.8% 0.024 200.3)

  • #322A35

    #322A35

    oklch(29.8% 0.022 316.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342C20

    #342C20

    oklch(29.8% 0.024 77.7)

  • #22312B

    #22312B

    oklch(29.8% 0.023 168.2)

  • #262E39

    #262E39

    oklch(29.8% 0.023 256.4)

  • #37292F

    #37292F

    oklch(29.9% 0.023 351)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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