#40340F

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

Aa

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

About this color

#40340F 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.23:1.

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

Values

HEX#40340F
RGBrgb(64, 52, 15)
HSLhsl(45, 62%, 15%)
OKLCHoklch(33% 0.056 90.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 #40340F 12.23:1 AAA Lc -101.3 Preferred for body text
Black text on #40340F 1.71:1 Fails Lc 0.0 Not readable
#40340F text on white 12.23:1 AAA Lc 97.8 Preferred for body text
#40340F 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

    #CBC0A3

    oklch(80.9% 0.041 89.7)

  5. Step 400

    400

    #B09F70

    oklch(70.6% 0.067 90.5)

  6. Step 500

    500

    #9D884A

    oklch(63.2% 0.085 91.1)

  7. Step 600

    600

    #88712B

    oklch(55.7% 0.093 90.7)

  8. Step 700

    700

    #735E1D

    oklch(49% 0.086 90.6)

  9. Step 800

    800

    #5E4D1B

    oklch(42.7% 0.071 90.1)

  10. Step 900

    900 (this color)

    #40340F

    oklch(33% 0.056 90.9)

  11. Step 950

    950

    #2D2611

    oklch(27.1% 0.036 91.5)

Export this scale for Tailwind in the Tailwind colors tool

#40340F 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)#3A330A0.013
Deuteranopia (no green cones)#3D37110.010
Tritanopia (no blue cones)#462F2C0.051
Achromatopsia (no color)#3535350.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #40340F

    #40340F

    oklch(33% 0.056 90.9)

  • #2B3352

    #2B3352

    oklch(32.9% 0.056 272)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40340F

    #40340F

    oklch(33% 0.056 90.9)

  • #4A2E15

    #4A2E15

    oklch(33% 0.056 60.6)

  • #313A17

    #313A17

    oklch(33.1% 0.056 121.5)

Open the analogous palette in the generator

Split complementary

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

  • #40340F

    #40340F

    oklch(33% 0.056 90.9)

  • #18394F

    #18394F

    oklch(33.1% 0.055 240.4)

  • #3A2E4D

    #3A2E4D

    oklch(32.9% 0.056 301.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40340F

    #40340F

    oklch(33% 0.056 90.9)

  • #033D45

    #033D45

    oklch(33% 0.056 209.6)

  • #462A42

    #462A42

    oklch(32.9% 0.056 332)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40340F

    #40340F

    oklch(33% 0.056 90.9)

  • #073E37

    #073E37

    oklch(32.8% 0.055 182)

  • #2B3352

    #2B3352

    oklch(32.9% 0.056 272)

  • #4C2934

    #4C2934

    oklch(33% 0.054 0.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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