#403A18

Closest named color: Dark Olive (#373E02). oklch(34.6% 0.052 99.5), rgb(64, 58, 24).

Aa

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

About this color

#403A18 is a dark, muted brown. In OKLCH its lightness is 35%, its chroma 0.052 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.032 away. White text reads best on it, at 11.43:1.

Hue familyBrowns
Lightnessdark (35%)
Chromamuted (0.052)
Temperaturewarm
Nearest nameDark Olive (#373E02)
Black text1.83:1
White text11.43:1

Values

HEX#403A18
RGBrgb(64, 58, 24)
HSLhsl(51, 45%, 17%)
OKLCHoklch(34.6% 0.052 99.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 #403A18 11.43:1 AAA Lc -100.0 Preferred for body text
Black text on #403A18 1.83:1 Fails Lc 7.6 Not readable
#403A18 text on white 11.43:1 AAA Lc 96.3 Preferred for body text
#403A18 text on black 1.83: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

    #EBEAE2

    oklch(93.6% 0.011 100.8)

  3. Step 200

    200

    #DCDACA

    oklch(88.6% 0.022 101)

  4. Step 300

    300

    #C6C2A5

    oklch(81% 0.04 100.8)

  5. Step 400

    400

    #AAA275

    oklch(70.8% 0.062 99.3)

  6. Step 500

    500

    #958B50

    oklch(63.2% 0.08 99.9)

  7. Step 600

    600

    #807434

    oklch(55.6% 0.086 98.8)

  8. Step 700

    700

    #6C6126

    oklch(49% 0.08 98.8)

  9. Step 800

    800

    #585021

    oklch(42.8% 0.067 99.8)

  10. Step 900

    900 (this color)

    #403A18

    oklch(34.6% 0.052 99.5)

  11. Step 950

    950

    #2A2713

    oklch(27% 0.034 100.9)

Export this scale for Tailwind in the Tailwind colors tool

#403A18 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)#3F38150.007
Deuteranopia (no green cones)#413B1A0.004
Tritanopia (no blue cones)#4536320.047
Achromatopsia (no color)#3A3A3A0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #403A18

    #403A18

    oklch(34.6% 0.052 99.5)

  • #343654

    #343654

    oklch(34.5% 0.052 280.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403A18

    #403A18

    oklch(34.6% 0.052 99.5)

  • #4B341A

    #4B341A

    oklch(34.5% 0.052 68)

  • #313F21

    #313F21

    oklch(34.7% 0.052 129.2)

Open the analogous palette in the generator

Split complementary

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

  • #403A18

    #403A18

    oklch(34.6% 0.052 99.5)

  • #243C53

    #243C53

    oklch(34.8% 0.05 248.5)

  • #42324E

    #42324E

    oklch(34.7% 0.052 310)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403A18

    #403A18

    oklch(34.6% 0.052 99.5)

  • #14404C

    #14404C

    oklch(34.7% 0.052 219.2)

  • #4B2F42

    #4B2F42

    oklch(34.6% 0.05 339.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403A18

    #403A18

    oklch(34.6% 0.052 99.5)

  • #10423F

    #10423F

    oklch(34.6% 0.052 189.3)

  • #343654

    #343654

    oklch(34.5% 0.052 280.3)

  • #512E34

    #512E34

    oklch(34.7% 0.052 9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #403A18 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.