#403012

Closest named color: Pakistan Green (#283618). oklch(32% 0.05 81), rgb(64, 48, 18).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (32%)
Chromamuted (0.050)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.64:1
White text12.73:1

Values

HEX#403012
RGBrgb(64, 48, 18)
HSLhsl(39, 56%, 16%)
OKLCHoklch(32% 0.05 81)

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 #403012 12.73:1 AAA Lc -102.1 Preferred for body text
Black text on #403012 1.64:1 Fails Lc 0.0 Not readable
#403012 text on white 12.73:1 AAA Lc 98.7 Preferred for body text
#403012 text on black 1.64: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

    #F8F5F0

    oklch(97.1% 0.007 80.7)

  2. Step 100

    100

    #F0E9DD

    oklch(93.6% 0.018 81.3)

  3. Step 200

    200

    #E5D7C1

    oklch(88.5% 0.033 79.3)

  4. Step 300

    300

    #D5BD95

    oklch(80.9% 0.06 80.3)

  5. Step 400

    400

    #BF9A58

    oklch(70.6% 0.095 80.7)

  6. Step 500

    500

    #AF801C

    oklch(63% 0.122 80.6)

  7. Step 600

    600

    #956B00

    oklch(55.6% 0.115 81.4)

  8. Step 700

    700

    #7E5900

    oklch(49% 0.101 80.5)

  9. Step 800

    800

    #674900

    oklch(42.7% 0.088 81.6)

  10. Step 900

    900

    #563C00

    oklch(37.6% 0.078 81.1)

  11. Step 950

    950 (this color)

    #403012

    oklch(32% 0.05 81)

Export this scale for Tailwind in the Tailwind colors tool

#403012 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)#37300F0.018
Deuteranopia (no green cones)#3A34130.016
Tritanopia (no blue cones)#462B290.044
Achromatopsia (no color)#3232320.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #403012

    #403012

    oklch(32% 0.05 81)

  • #24334D

    #24334D

    oklch(32.1% 0.051 261)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403012

    #403012

    oklch(32% 0.05 81)

  • #472B1A

    #472B1A

    oklch(32% 0.05 51.4)

  • #343515

    #343515

    oklch(32% 0.05 110.5)

Open the analogous palette in the generator

Split complementary

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

  • #403012

    #403012

    oklch(32% 0.05 81)

  • #133748

    #133748

    oklch(31.9% 0.051 232)

  • #332E4B

    #332E4B

    oklch(32% 0.051 291.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403012

    #403012

    oklch(32% 0.05 81)

  • #083A3D

    #083A3D

    oklch(31.9% 0.05 201.1)

  • #3F2A43

    #3F2A43

    oklch(32.1% 0.052 321)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403012

    #403012

    oklch(32% 0.05 81)

  • #123B2F

    #123B2F

    oklch(32% 0.051 170.6)

  • #24334D

    #24334D

    oklch(32.1% 0.051 261)

  • #462836

    #462836

    oklch(32% 0.05 350.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #403012 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.