#40340E

Closest named color: Dark Olive (#373E02). oklch(33% 0.056 91.2), rgb(64, 52, 14).

Aa

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

About this color

#40340E is a dark, muted brown. In OKLCH its lightness is 33%, its chroma 0.056 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.040 away. White text reads best on it, at 12.24:1.

Hue familyBrowns
Lightnessdark (33%)
Chromamuted (0.056)
Temperaturewarm
Nearest nameDark Olive (#373E02)
Black text1.71:1
White text12.24:1

Values

HEX#40340E
RGBrgb(64, 52, 14)
HSLhsl(46, 64%, 15%)
OKLCHoklch(33% 0.056 91.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 #40340E 12.24:1 AAA Lc -101.3 Preferred for body text
Black text on #40340E 1.71:1 Fails Lc 0.0 Not readable
#40340E text on white 12.24:1 AAA Lc 97.9 Preferred for body text
#40340E text on black 1.71: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

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #EDEAE1

    oklch(93.7% 0.012 91.5)

  3. Step 200

    200

    #DFD9C8

    oklch(88.5% 0.024 90.8)

  4. Step 300

    300

    #CBC0A2

    oklch(80.9% 0.042 90.3)

  5. Step 400

    400

    #B0A070

    oklch(70.8% 0.068 91.8)

  6. Step 500

    500

    #9D8849

    oklch(63.2% 0.086 91.4)

  7. Step 600

    600

    #887129

    oklch(55.6% 0.094 91.1)

  8. Step 700

    700

    #735E1C

    oklch(49% 0.087 90.7)

  9. Step 800

    800

    #5E4D19

    oklch(42.7% 0.073 90.7)

  10. Step 900

    900 (this color)

    #40340E

    oklch(33% 0.056 91.2)

  11. Step 950

    950

    #2D2611

    oklch(27.1% 0.036 91.5)

Export this scale for Tailwind in the Tailwind colors tool

#40340E 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)#3B33090.012
Deuteranopia (no green cones)#3D37100.010
Tritanopia (no blue cones)#462F2C0.052
Achromatopsia (no color)#3535350.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #40340E

    #40340E

    oklch(33% 0.056 91.2)

  • #2B3352

    #2B3352

    oklch(32.9% 0.056 272)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40340E

    #40340E

    oklch(33% 0.056 91.2)

  • #4A2E14

    #4A2E14

    oklch(33% 0.057 61.5)

  • #313A16

    #313A16

    oklch(33.1% 0.057 121.3)

Open the analogous palette in the generator

Split complementary

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

  • #40340E

    #40340E

    oklch(33% 0.056 91.2)

  • #173950

    #173950

    oklch(33.1% 0.057 241)

  • #3A2E4E

    #3A2E4E

    oklch(32.9% 0.057 300.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40340E

    #40340E

    oklch(33% 0.056 91.2)

  • #023D46

    #023D46

    oklch(33.1% 0.056 211.3)

  • #462A42

    #462A42

    oklch(32.9% 0.056 332)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40340E

    #40340E

    oklch(33% 0.056 91.2)

  • #063F37

    #063F37

    oklch(33.1% 0.057 180.5)

  • #2B3352

    #2B3352

    oklch(32.9% 0.056 272)

  • #4D2833

    #4D2833

    oklch(32.9% 0.057 1.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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