#342E08

Closest named color: Pakistan Green (#283618). oklch(29.9% 0.055 100.1), rgb(52, 46, 8).

Aa

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

About this color

#342E08 is a dark, muted brown. In OKLCH its lightness is 30%, its chroma 0.055 and its hue 100°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.030 away. White text reads best on it, at 13.63:1.

Hue familyBrowns
Lightnessdark (30%)
Chromamuted (0.055)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.54:1
White text13.63:1

Values

HEX#342E08
RGBrgb(52, 46, 8)
HSLhsl(52, 73%, 12%)
OKLCHoklch(29.9% 0.055 100.1)

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 #342E08 13.63:1 AAA Lc -103.2 Preferred for body text
Black text on #342E08 1.54:1 Fails Lc 0.0 Not readable
#342E08 text on white 13.63:1 AAA Lc 100.1 Preferred for body text
#342E08 text on black 1.54: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

    #F7F6EF

    oklch(97.2% 0.009 100)

  2. Step 100

    100

    #ECEADC

    oklch(93.5% 0.019 100.1)

  3. Step 200

    200

    #DEDABF

    oklch(88.4% 0.036 100.2)

  4. Step 300

    300

    #CAC292

    oklch(80.9% 0.064 99.7)

  5. Step 400

    400

    #AFA251

    oklch(70.6% 0.104 100.3)

  6. Step 500

    500

    #9C8A00

    oklch(63% 0.131 100.1)

  7. Step 600

    600

    #837400

    oklch(55.6% 0.116 100.3)

  8. Step 700

    700

    #6E6100

    oklch(49% 0.102 100.2)

  9. Step 800

    800

    #5A4F00

    oklch(42.5% 0.088 100.1)

  10. Step 900

    900

    #4B4200

    oklch(37.7% 0.078 100.6)

  11. Step 950

    950 (this color)

    #342E08

    oklch(29.9% 0.055 100.1)

Export this scale for Tailwind in the Tailwind colors tool

#342E08 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)#332C040.007
Deuteranopia (no green cones)#352F0A0.004
Tritanopia (no blue cones)#392A260.049
Achromatopsia (no color)#2E2E2E0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #342E08

    #342E08

    oklch(29.9% 0.055 100.1)

  • #282A48

    #282A48

    oklch(29.8% 0.054 279.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342E08

    #342E08

    oklch(29.9% 0.055 100.1)

  • #3F280A

    #3F280A

    oklch(29.9% 0.055 69.6)

  • #243314

    #243314

    oklch(29.9% 0.055 130.4)

Open the analogous palette in the generator

Split complementary

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

  • #342E08

    #342E08

    oklch(29.9% 0.055 100.1)

  • #172F48

    #172F48

    oklch(29.9% 0.055 251)

  • #362542

    #362542

    oklch(29.8% 0.055 310.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342E08

    #342E08

    oklch(29.9% 0.055 100.1)

  • #003440

    #003440

    oklch(30% 0.054 218.5)

  • #402236

    #402236

    oklch(29.9% 0.055 340.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342E08

    #342E08

    oklch(29.9% 0.055 100.1)

  • #003633

    #003633

    oklch(30% 0.052 188.8)

  • #282A48

    #282A48

    oklch(29.8% 0.054 279.7)

  • #452127

    #452127

    oklch(29.9% 0.055 10.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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