#342C1C

Closest named color: Pakistan Green (#283618). oklch(29.7% 0.029 84.2), rgb(52, 44, 28).

Aa

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

About this color

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

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

Values

HEX#342C1C
RGBrgb(52, 44, 28)
HSLhsl(40, 30%, 16%)
OKLCHoklch(29.7% 0.029 84.2)

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

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #EDE9E2

    oklch(93.5% 0.01 81.8)

  3. Step 200

    200

    #DFD8CB

    oklch(88.4% 0.019 83.1)

  4. Step 300

    300

    #CBBFA8

    oklch(80.8% 0.034 83.7)

  5. Step 400

    400

    #B19E79

    oklch(70.6% 0.056 83.8)

  6. Step 500

    500

    #9E8657

    oklch(63.1% 0.07 83.5)

  7. Step 600

    600

    #89703B

    oklch(55.8% 0.078 84.5)

  8. Step 700

    700

    #745D2E

    oklch(49.1% 0.071 83.5)

  9. Step 800

    800

    #5E4C27

    oklch(42.6% 0.059 83.9)

  10. Step 900

    900

    #4D4024

    oklch(37.8% 0.046 85.3)

  11. Step 950

    950 (this color)

    #342C1C

    oklch(29.7% 0.029 84.2)

Export this scale for Tailwind in the Tailwind colors tool

#342C1C 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)#302C1B0.008
Deuteranopia (no green cones)#322E1C0.007
Tritanopia (no blue cones)#3829280.027
Achromatopsia (no color)#2D2D2D0.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #342C1C

    #342C1C

    oklch(29.7% 0.029 84.2)

  • #262D3C

    #262D3C

    oklch(29.7% 0.029 265.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342C1C

    #342C1C

    oklch(29.7% 0.029 84.2)

  • #39291F

    #39291F

    oklch(29.7% 0.03 53.3)

  • #2D2F1E

    #2D2F1E

    oklch(29.8% 0.029 113.6)

Open the analogous palette in the generator

Split complementary

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

  • #342C1C

    #342C1C

    oklch(29.7% 0.029 84.2)

  • #1E303A

    #1E303A

    oklch(29.8% 0.03 233.4)

  • #2E2A3A

    #2E2A3A

    oklch(29.6% 0.029 296)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342C1C

    #342C1C

    oklch(29.7% 0.029 84.2)

  • #1B3134

    #1B3134

    oklch(29.6% 0.028 206.8)

  • #352835

    #352835

    oklch(29.7% 0.029 326.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342C1C

    #342C1C

    oklch(29.7% 0.029 84.2)

  • #1D322C

    #1D322C

    oklch(29.7% 0.029 174.3)

  • #262D3C

    #262D3C

    oklch(29.7% 0.029 265.2)

  • #39272E

    #39272E

    oklch(29.7% 0.029 353.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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