#40301D

Closest named color: Pakistan Green (#283618). oklch(32.2% 0.039 70.6), rgb(64, 48, 29).

Aa

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

About this color

#40301D is a dark, muted brown. In OKLCH its lightness is 32%, its chroma 0.039 and its hue 71°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.048 away. White text reads best on it, at 12.66:1.

Hue familyBrowns
Lightnessdark (32%)
Chromamuted (0.039)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.65:1
White text12.66:1

Values

HEX#40301D
RGBrgb(64, 48, 29)
HSLhsl(33, 38%, 18%)
OKLCHoklch(32.2% 0.039 70.6)

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 #40301D 12.66:1 AAA Lc -102.0 Preferred for body text
Black text on #40301D 1.65:1 Fails Lc 0.0 Not readable
#40301D text on white 12.66:1 AAA Lc 98.6 Preferred for body text
#40301D text on black 1.65: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

    #F8F5F1

    oklch(97.1% 0.006 75.4)

  2. Step 100

    100

    #F0E9E1

    oklch(93.7% 0.013 71.3)

  3. Step 200

    200

    #E4D7C8

    oklch(88.6% 0.025 71.4)

  4. Step 300

    300

    #D4BCA1

    oklch(80.9% 0.046 70.4)

  5. Step 400

    400

    #BE996E

    oklch(70.7% 0.073 70.4)

  6. Step 500

    500

    #AD7F47

    oklch(63% 0.093 70.2)

  7. Step 600

    600

    #986826

    oklch(55.6% 0.101 71.1)

  8. Step 700

    700

    #825619

    oklch(49.1% 0.094 70.3)

  9. Step 800

    800

    #6A4717

    oklch(42.8% 0.079 70.9)

  10. Step 900

    900

    #563C1A

    oklch(37.8% 0.061 71.4)

  11. Step 950

    950 (this color)

    #40301D

    oklch(32.2% 0.039 70.6)

Export this scale for Tailwind in the Tailwind colors tool

#40301D 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)#36311C0.019
Deuteranopia (no green cones)#39341D0.018
Tritanopia (no blue cones)#452C2B0.031
Achromatopsia (no color)#3333330.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #40301D

    #40301D

    oklch(32.2% 0.039 70.6)

  • #243547

    #243547

    oklch(32.3% 0.039 250.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40301D

    #40301D

    oklch(32.2% 0.039 70.6)

  • #452D24

    #452D24

    oklch(32.3% 0.039 41.4)

  • #38341C

    #38341C

    oklch(32.2% 0.039 100)

Open the analogous palette in the generator

Split complementary

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

  • #40301D

    #40301D

    oklch(32.2% 0.039 70.6)

  • #1B3841

    #1B3841

    oklch(32.2% 0.038 220.3)

  • #303147

    #303147

    oklch(32.2% 0.039 282)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40301D

    #40301D

    oklch(32.2% 0.039 70.6)

  • #193A38

    #193A38

    oklch(32.3% 0.039 190.2)

  • #3A2E42

    #3A2E42

    oklch(32.3% 0.038 311.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40301D

    #40301D

    oklch(32.2% 0.039 70.6)

  • #213A2D

    #213A2D

    oklch(32.4% 0.039 160.5)

  • #243547

    #243547

    oklch(32.3% 0.039 250.5)

  • #412C39

    #412C39

    oklch(32.3% 0.037 341.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40301D 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.