#40301F

Closest named color: Pakistan Green (#283618). oklch(32.3% 0.036 67.7), rgb(64, 48, 31).

Aa

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

About this color

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

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

Values

HEX#40301F
RGBrgb(64, 48, 31)
HSLhsl(31, 35%, 19%)
OKLCHoklch(32.3% 0.036 67.7)

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

    #F0E8E1

    oklch(93.5% 0.013 63.9)

  3. Step 200

    200

    #E4D7C9

    oklch(88.6% 0.024 69.6)

  4. Step 300

    300

    #D4BCA4

    oklch(80.9% 0.043 67.2)

  5. Step 400

    400

    #BE9972

    oklch(70.8% 0.069 67.8)

  6. Step 500

    500

    #AD7F4D

    oklch(63.1% 0.088 67.4)

  7. Step 600

    600

    #98682F

    oklch(55.7% 0.095 68.1)

  8. Step 700

    700

    #825622

    oklch(49.1% 0.089 67.3)

  9. Step 800

    800

    #69471E

    oklch(42.7% 0.073 68.6)

  10. Step 900

    900

    #563B1E

    oklch(37.6% 0.057 66.5)

  11. Step 950

    950 (this color)

    #40301F

    oklch(32.3% 0.036 67.7)

Export this scale for Tailwind in the Tailwind colors tool

#40301F 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)#35311E0.021
Deuteranopia (no green cones)#39341F0.018
Tritanopia (no blue cones)#452C2C0.030
Achromatopsia (no color)#3333330.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #40301F

    #40301F

    oklch(32.3% 0.036 67.7)

  • #243545

    #243545

    oklch(32.1% 0.036 247.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40301F

    #40301F

    oklch(32.3% 0.036 67.7)

  • #442D26

    #442D26

    oklch(32.3% 0.036 37.6)

  • #38341E

    #38341E

    oklch(32.3% 0.036 99.2)

Open the analogous palette in the generator

Split complementary

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

  • #40301F

    #40301F

    oklch(32.3% 0.036 67.7)

  • #1C3840

    #1C3840

    oklch(32.2% 0.037 218.4)

  • #2F3246

    #2F3246

    oklch(32.3% 0.036 277.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40301F

    #40301F

    oklch(32.3% 0.036 67.7)

  • #1C3A37

    #1C3A37

    oklch(32.4% 0.036 187.2)

  • #382F42

    #382F42

    oklch(32.3% 0.035 306.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40301F

    #40301F

    oklch(32.3% 0.036 67.7)

  • #23392C

    #23392C

    oklch(32.2% 0.036 157.7)

  • #243545

    #243545

    oklch(32.1% 0.036 247.5)

  • #402C3A

    #402C3A

    oklch(32.2% 0.037 337.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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