#340F02

Closest named color: Deep Brown (#410200). oklch(22.7% 0.064 41.2), rgb(52, 15, 2).

Aa

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

About this color

#340F02 is a very dark, muted brown. In OKLCH its lightness is 23%, its chroma 0.064 and its hue 41°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Brown (#410200), ΔE 0.035 away. White text reads best on it, at 17.28:1.

Hue familyBrowns
Lightnessvery dark (23%)
Chromamuted (0.064)
Temperaturewarm
Nearest nameDeep Brown (#410200)
Black text1.21:1
White text17.28:1

Values

HEX#340F02
RGBrgb(52, 15, 2)
HSLhsl(16, 93%, 11%)
OKLCHoklch(22.7% 0.064 41.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 #340F02 17.28:1 AAA Lc -106.2 Preferred for body text
Black text on #340F02 1.21:1 Fails Lc 0.0 Not readable
#340F02 text on white 17.28:1 AAA Lc 103.8 Preferred for body text
#340F02 text on black 1.21: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

    #FCF3F0

    oklch(97% 0.011 39.4)

  2. Step 100

    100

    #F8E5DF

    oklch(93.5% 0.022 38.3)

  3. Step 200

    200

    #F3D1C4

    oklch(88.6% 0.042 42.1)

  4. Step 300

    300

    #ECB19B

    oklch(80.9% 0.076 41.4)

  5. Step 400

    400

    #E08563

    oklch(70.7% 0.122 41.1)

  6. Step 500

    500

    #D56335

    oklch(63.1% 0.156 41.3)

  7. Step 600

    600

    #C04501

    oklch(55.5% 0.17 41.1)

  8. Step 700

    700

    #A33900

    oklch(49.1% 0.151 41.1)

  9. Step 800

    800

    #872E00

    oklch(42.8% 0.131 41.2)

  10. Step 900

    900

    #6C2A0E

    oklch(37.6% 0.102 41.1)

  11. Step 950

    950 (this color)

    #340F02

    oklch(22.7% 0.064 41.2)

Export this scale for Tailwind in the Tailwind colors tool

#340F02 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)#1A15010.062
Deuteranopia (no green cones)#231E010.057
Tritanopia (no blue cones)#3A060C0.031
Achromatopsia (no color)#1B1B1B0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #340F02

    #340F02

    oklch(22.7% 0.064 41.2)

  • #00202A

    #00202A

    oklch(22.6% 0.042 222.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340F02

    #340F02

    oklch(22.7% 0.064 41.2)

  • #340C15

    #340C15

    oklch(22.7% 0.065 10.3)

  • #2A1800

    #2A1800

    oklch(22.8% 0.049 72.5)

Open the analogous palette in the generator

Split complementary

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

  • #340F02

    #340F02

    oklch(22.7% 0.064 41.2)

  • #002221

    #002221

    oklch(22.8% 0.039 191.9)

  • #011D39

    #011D39

    oklch(22.8% 0.064 251)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340F02

    #340F02

    oklch(22.7% 0.064 41.2)

  • #002314

    #002314

    oklch(22.6% 0.05 160.9)

  • #181739

    #181739

    oklch(22.7% 0.064 281.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340F02

    #340F02

    oklch(22.7% 0.064 41.2)

  • #112200

    #112200

    oklch(22.8% 0.063 131.6)

  • #00202A

    #00202A

    oklch(22.6% 0.042 222.5)

  • #261232

    #261232

    oklch(22.8% 0.064 311.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #340F02 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.