#342F20

Closest named color: Pakistan Green (#283618). oklch(30.6% 0.026 91.8), rgb(52, 47, 32).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (31%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest namePakistan Green (#283618)
Black text1.57:1
White text13.34:1

Values

HEX#342F20
RGBrgb(52, 47, 32)
HSLhsl(45, 24%, 16%)
OKLCHoklch(30.6% 0.026 91.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 #342F20 13.34:1 AAA Lc -102.9 Preferred for body text
Black text on #342F20 1.57:1 Fails Lc 0.0 Not readable
#342F20 text on white 13.34:1 AAA Lc 99.8 Preferred for body text
#342F20 text on black 1.57: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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE3

    oklch(93.7% 0.01 93.6)

  3. Step 200

    200

    #DDD9CD

    oklch(88.5% 0.017 91.6)

  4. Step 300

    300

    #C8C0AA

    oklch(80.8% 0.031 90.4)

  5. Step 400

    400

    #ACA07D

    oklch(70.7% 0.05 91.4)

  6. Step 500

    500

    #97895C

    oklch(63.2% 0.064 92.8)

  7. Step 600

    600

    #827242

    oklch(55.6% 0.069 91.6)

  8. Step 700

    700

    #6E6034

    oklch(49.2% 0.065 92.2)

  9. Step 800

    800

    #594E2C

    oklch(42.6% 0.052 92.1)

  10. Step 900

    900

    #494127

    oklch(37.6% 0.042 92.9)

  11. Step 950

    950 (this color)

    #342F20

    oklch(30.6% 0.026 91.8)

Export this scale for Tailwind in the Tailwind colors tool

#342F20 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)#322E1F0.005
Deuteranopia (no green cones)#3430200.003
Tritanopia (no blue cones)#372D2B0.023
Achromatopsia (no color)#2F2F2F0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #342F20

    #342F20

    oklch(30.6% 0.026 91.8)

  • #2A2F3D

    #2A2F3D

    oklch(30.6% 0.026 269.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342F20

    #342F20

    oklch(30.6% 0.026 91.8)

  • #392C22

    #392C22

    oklch(30.5% 0.026 59.2)

  • #2D3123

    #2D3123

    oklch(30.5% 0.025 120.8)

Open the analogous palette in the generator

Split complementary

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

  • #342F20

    #342F20

    oklch(30.6% 0.026 91.8)

  • #24313C

    #24313C

    oklch(30.6% 0.027 244.3)

  • #322C3B

    #322C3B

    oklch(30.6% 0.028 303)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342F20

    #342F20

    oklch(30.6% 0.026 91.8)

  • #1F3337

    #1F3337

    oklch(30.6% 0.027 211.5)

  • #372B35

    #372B35

    oklch(30.7% 0.024 331.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342F20

    #342F20

    oklch(30.6% 0.026 91.8)

  • #203430

    #203430

    oklch(30.7% 0.027 180.5)

  • #2A2F3D

    #2A2F3D

    oklch(30.6% 0.026 269.5)

  • #3B2A2E

    #3B2A2E

    oklch(30.6% 0.026 3.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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