#342E22

Closest named color: Pakistan Green (#283618). oklch(30.4% 0.022 84.4), rgb(52, 46, 34).

Aa

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

About this color

#342E22 is a dark close to neutral grey. In OKLCH its lightness is 30%, its chroma 0.022. 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.46:1.

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

Values

HEX#342E22
RGBrgb(52, 46, 34)
HSLhsl(40, 21%, 17%)
OKLCHoklch(30.4% 0.022 84.4)

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 #342E22 13.46:1 AAA Lc -103.1 Preferred for body text
Black text on #342E22 1.55:1 Fails Lc 0.0 Not readable
#342E22 text on white 13.46:1 AAA Lc 99.9 Preferred for body text
#342E22 text on black 1.55: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

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #ECE9E4

    oklch(93.5% 0.007 80.7)

  3. Step 200

    200

    #DED9CE

    oklch(88.6% 0.016 86.4)

  4. Step 300

    300

    #C9C0AE

    oklch(81% 0.027 84.6)

  5. Step 400

    400

    #AD9F83

    oklch(70.7% 0.042 84.5)

  6. Step 500

    500

    #998764

    oklch(63.1% 0.054 83.7)

  7. Step 600

    600

    #83714B

    oklch(55.6% 0.058 85.2)

  8. Step 700

    700

    #6F5E3C

    oklch(49% 0.054 84)

  9. Step 800

    800

    #5B4D32

    oklch(42.7% 0.045 83.3)

  10. Step 900

    900

    #4A402C

    oklch(37.6% 0.035 84.3)

  11. Step 950

    950 (this color)

    #342E22

    oklch(30.4% 0.022 84.4)

Export this scale for Tailwind in the Tailwind colors tool

#342E22 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)#312E210.006
Deuteranopia (no green cones)#322F220.005
Tritanopia (no blue cones)#372C2B0.020
Achromatopsia (no color)#2F2F2F0.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #342E22

    #342E22

    oklch(30.4% 0.022 84.4)

  • #292F3A

    #292F3A

    oklch(30.4% 0.022 262.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342E22

    #342E22

    oklch(30.4% 0.022 84.4)

  • #382C24

    #382C24

    oklch(30.4% 0.023 55.4)

  • #2E3023

    #2E3023

    oklch(30.3% 0.023 114.9)

Open the analogous palette in the generator

Split complementary

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

  • #342E22

    #342E22

    oklch(30.4% 0.022 84.4)

  • #243138

    #243138

    oklch(30.4% 0.022 231.9)

  • #2F2D39

    #2F2D39

    oklch(30.4% 0.022 292.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342E22

    #342E22

    oklch(30.4% 0.022 84.4)

  • #213234

    #213234

    oklch(30.3% 0.023 205.2)

  • #352B35

    #352B35

    oklch(30.4% 0.023 326.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342E22

    #342E22

    oklch(30.4% 0.022 84.4)

  • #23332E

    #23332E

    oklch(30.5% 0.023 173.4)

  • #292F3A

    #292F3A

    oklch(30.4% 0.022 262.5)

  • #382A2F

    #382A2F

    oklch(30.3% 0.022 355.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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