#40381E

Closest named color: Dark Olive (#373E02). oklch(34.2% 0.042 92.9), rgb(64, 56, 30).

Aa

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

About this color

#40381E is a dark, muted brown. In OKLCH its lightness is 34%, its chroma 0.042 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.043 away. White text reads best on it, at 11.65:1.

Hue familyBrowns
Lightnessdark (34%)
Chromamuted (0.042)
Temperaturewarm
Nearest nameDark Olive (#373E02)
Black text1.80:1
White text11.65:1

Values

HEX#40381E
RGBrgb(64, 56, 30)
HSLhsl(46, 36%, 18%)
OKLCHoklch(34.2% 0.042 92.9)

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 #40381E 11.65:1 AAA Lc -100.4 Preferred for body text
Black text on #40381E 1.80:1 Fails Lc 0.0 Not readable
#40381E text on white 11.65:1 AAA Lc 96.8 Preferred for body text
#40381E text on black 1.80: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 900.

  1. Step 50

    50

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE3

    oklch(93.7% 0.01 93.6)

  3. Step 200

    200

    #DDD9CC

    oklch(88.5% 0.018 92.7)

  4. Step 300

    300

    #C7C1AA

    oklch(81% 0.032 95)

  5. Step 400

    400

    #ABA07D

    oklch(70.6% 0.05 92.7)

  6. Step 500

    500

    #97895C

    oklch(63.2% 0.064 92.8)

  7. Step 600

    600

    #827241

    oklch(55.6% 0.07 91.9)

  8. Step 700

    700

    #6E6033

    oklch(49.2% 0.066 92.6)

  9. Step 800

    800

    #594E2B

    oklch(42.6% 0.054 92.5)

  10. Step 900

    900 (this color)

    #40381E

    oklch(34.2% 0.042 92.9)

  11. Step 950

    950

    #2B2617

    oklch(27% 0.027 91.8)

Export this scale for Tailwind in the Tailwind colors tool

#40381E 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)#3D371C0.007
Deuteranopia (no green cones)#3F391F0.003
Tritanopia (no blue cones)#4534320.040
Achromatopsia (no color)#3838380.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #40381E

    #40381E

    oklch(34.2% 0.042 92.9)

  • #31374F

    #31374F

    oklch(34.2% 0.043 273.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40381E

    #40381E

    oklch(34.2% 0.042 92.9)

  • #483421

    #483421

    oklch(34.3% 0.042 64.2)

  • #343C23

    #343C23

    oklch(34.1% 0.042 123.1)

Open the analogous palette in the generator

Split complementary

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

  • #40381E

    #40381E

    oklch(34.2% 0.042 92.9)

  • #243B4D

    #243B4D

    oklch(34.2% 0.043 243.1)

  • #3D334B

    #3D334B

    oklch(34.2% 0.043 303.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40381E

    #40381E

    oklch(34.2% 0.042 92.9)

  • #1B3E45

    #1B3E45

    oklch(34.1% 0.042 212.4)

  • #463042

    #463042

    oklch(34.2% 0.043 333)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40381E

    #40381E

    oklch(34.2% 0.042 92.9)

  • #1C403A

    #1C403A

    oklch(34.3% 0.043 181.4)

  • #31374F

    #31374F

    oklch(34.2% 0.043 273.1)

  • #4B2F36

    #4B2F36

    oklch(34.1% 0.042 3.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40381E 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.