#40310B

Closest named color: Pakistan Green (#283618). oklch(32.2% 0.057 86.5), rgb(64, 49, 11).

Aa

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

About this color

#40310B is a dark, muted brown. In OKLCH its lightness is 32%, its chroma 0.057 and its hue 87°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.042 away. White text reads best on it, at 12.63:1.

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

Values

HEX#40310B
RGBrgb(64, 49, 11)
HSLhsl(43, 71%, 15%)
OKLCHoklch(32.2% 0.057 86.5)

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 #40310B 12.63:1 AAA Lc -101.9 Preferred for body text
Black text on #40310B 1.66:1 Fails Lc 0.0 Not readable
#40310B text on white 12.63:1 AAA Lc 98.5 Preferred for body text
#40310B 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

    #F8F5EF

    oklch(97.1% 0.009 84.6)

  2. Step 100

    100

    #EFE9DC

    oklch(93.5% 0.018 86.1)

  3. Step 200

    200

    #E4D8BE

    oklch(88.5% 0.037 86.2)

  4. Step 300

    300

    #D4BE8F

    oklch(80.9% 0.067 85.7)

  5. Step 400

    400

    #BE9C4B

    oklch(70.8% 0.108 86.6)

  6. Step 500

    500

    #AB8300

    oklch(63.1% 0.129 87)

  7. Step 600

    600

    #906E00

    oklch(55.7% 0.114 87.1)

  8. Step 700

    700

    #7A5C00

    oklch(49.2% 0.101 86.4)

  9. Step 800

    800

    #644B00

    oklch(42.8% 0.087 86.6)

  10. Step 900

    900

    #533E00

    oklch(37.6% 0.077 86.9)

  11. Step 950

    950 (this color)

    #40310B

    oklch(32.2% 0.057 86.5)

Export this scale for Tailwind in the Tailwind colors tool

#40310B 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)#3831060.017
Deuteranopia (no green cones)#3C350D0.014
Tritanopia (no blue cones)#462C290.050
Achromatopsia (no color)#3333330.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #40310B

    #40310B

    oklch(32.2% 0.057 86.5)

  • #263251

    #263251

    oklch(32.2% 0.058 267.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40310B

    #40310B

    oklch(32.2% 0.057 86.5)

  • #492B14

    #492B14

    oklch(32.2% 0.057 56.4)

  • #323712

    #323712

    oklch(32.3% 0.057 116.1)

Open the analogous palette in the generator

Split complementary

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

  • #40310B

    #40310B

    oklch(32.2% 0.057 86.5)

  • #11374D

    #11374D

    oklch(32.1% 0.058 237.9)

  • #362D4D

    #362D4D

    oklch(32.2% 0.057 296)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40310B

    #40310B

    oklch(32.2% 0.057 86.5)

  • #003B41

    #003B41

    oklch(32.2% 0.055 206)

  • #422943

    #422943

    oklch(32.3% 0.056 325.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40310B

    #40310B

    oklch(32.2% 0.057 86.5)

  • #053D32

    #053D32

    oklch(32.3% 0.058 175.3)

  • #263251

    #263251

    oklch(32.2% 0.058 267.1)

  • #4A2634

    #4A2634

    oklch(32.1% 0.057 356.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40310B 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.