#342C08

Closest named color: Pakistan Green (#283618). oklch(29.4% 0.053 96.3), rgb(52, 44, 8).

Aa

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

About this color

#342C08 is a dark, muted brown. In OKLCH its lightness is 29%, its chroma 0.053 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.035 away. White text reads best on it, at 13.90:1.

Hue familyBrowns
Lightnessdark (29%)
Chromamuted (0.053)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.50:1
White text13.90:1

Values

HEX#342C08
RGBrgb(52, 44, 8)
HSLhsl(49, 73%, 12%)
OKLCHoklch(29.4% 0.053 96.3)

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 #342C08 13.90:1 AAA Lc -103.5 Preferred for body text
Black text on #342C08 1.50:1 Fails Lc 0.0 Not readable
#342C08 text on white 13.90:1 AAA Lc 100.5 Preferred for body text
#342C08 text on black 1.50: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

    #F7F5EF

    oklch(97% 0.008 91.5)

  2. Step 100

    100

    #EDEADD

    oklch(93.6% 0.018 96.1)

  3. Step 200

    200

    #DFDAC0

    oklch(88.5% 0.035 98.1)

  4. Step 300

    300

    #CCC193

    oklch(80.9% 0.062 96.2)

  5. Step 400

    400

    #B3A154

    oklch(70.8% 0.1 96.5)

  6. Step 500

    500

    #A0880A

    oklch(63% 0.127 96.3)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #726000

    oklch(49.2% 0.101 96.3)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950 (this color)

    #342C08

    oklch(29.4% 0.053 96.3)

Export this scale for Tailwind in the Tailwind colors tool

#342C08 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)#312B040.008
Deuteranopia (no green cones)#342D0A0.003
Tritanopia (no blue cones)#3928250.049
Achromatopsia (no color)#2C2C2C0.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #342C08

    #342C08

    oklch(29.4% 0.053 96.3)

  • #252A46

    #252A46

    oklch(29.4% 0.051 275.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342C08

    #342C08

    oklch(29.4% 0.053 96.3)

  • #3E260C

    #3E260C

    oklch(29.3% 0.053 65)

  • #253112

    #253112

    oklch(29.4% 0.053 127)

Open the analogous palette in the generator

Split complementary

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

  • #342C08

    #342C08

    oklch(29.4% 0.053 96.3)

  • #142E45

    #142E45

    oklch(29.3% 0.053 247.4)

  • #332541

    #332541

    oklch(29.4% 0.053 306.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342C08

    #342C08

    oklch(29.4% 0.053 96.3)

  • #00323D

    #00323D

    oklch(29.3% 0.052 217.4)

  • #3D2236

    #3D2236

    oklch(29.5% 0.052 337)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342C08

    #342C08

    oklch(29.4% 0.053 96.3)

  • #003430

    #003430

    oklch(29.3% 0.051 186.6)

  • #252A46

    #252A46

    oklch(29.4% 0.051 275.1)

  • #422028

    #422028

    oklch(29.3% 0.053 5.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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