#804C2D

Closest named color: Milk Chocolate (#7F4E1E). oklch(47% 0.084 50.4), rgb(128, 76, 45).

Aa

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

About this color

#804C2D is a medium-dark, moderately saturated brown. In OKLCH its lightness is 47%, its chroma 0.084 and its hue 50°. Its hue sits on the warm side of the wheel. The nearest named color is Milk Chocolate (#7F4E1E), ΔE 0.018 away. White text reads best on it, at 7.02:1.

Hue familyBrowns
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.084)
Temperaturewarm
Nearest nameMilk Chocolate (#7F4E1E)
Black text2.98:1
White text7.02:1

Values

HEX#804C2D
RGBrgb(128, 76, 45)
HSLhsl(22, 48%, 34%)
OKLCHoklch(47% 0.084 50.4)

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 #804C2D 7.02:1 AAA Lc -89.1 Fine for body text
Black text on #804C2D 2.98:1 Fails Lc 19.9 Dividers and decoration only
#804C2D text on white 7.02:1 AAA Lc 84.1 Fine for body text
#804C2D text on black 2.98:1 Fails Lc -17.9 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F9F4F2

    oklch(97% 0.006 43.3)

  2. Step 100

    100

    #F1E8E3

    oklch(93.7% 0.012 51.3)

  3. Step 200

    200

    #E6D5CC

    oklch(88.4% 0.023 49.9)

  4. Step 300

    300

    #D7BAAA

    oklch(81% 0.04 50.7)

  5. Step 400

    400

    #C2957C

    oklch(70.6% 0.065 50.4)

  6. Step 500

    500

    #B27B5B

    oklch(63.1% 0.082 50.9)

  7. Step 600

    600

    #9D6341

    oklch(55.6% 0.089 50.5)

  8. Step 700

    700 (this color)

    #804C2D

    oklch(47% 0.084 50.4)

  9. Step 800

    800

    #6D432B

    oklch(42.6% 0.069 49.9)

  10. Step 900

    900

    #593927

    oklch(37.8% 0.054 49.9)

  11. Step 950

    950

    #342217

    oklch(27.1% 0.034 52.2)

Export this scale for Tailwind in the Tailwind colors tool

#804C2D 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)#5B522A0.069
Deuteranopia (no green cones)#675D2D0.063
Tritanopia (no blue cones)#8C42450.053
Achromatopsia (no color)#5959590.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #804C2D

    #804C2D

    oklch(47% 0.084 50.4)

  • #1A6381

    #1A6381

    oklch(47% 0.084 230.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #804C2D

    #804C2D

    oklch(47% 0.084 50.4)

  • #844647

    #844647

    oklch(47% 0.085 19.8)

  • #73551B

    #73551B

    oklch(47% 0.083 80.3)

Open the analogous palette in the generator

Split complementary

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

  • #804C2D

    #804C2D

    oklch(47% 0.084 50.4)

  • #00686D

    #00686D

    oklch(47% 0.08 200.6)

  • #3F5B8A

    #3F5B8A

    oklch(47.1% 0.084 260.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #804C2D

    #804C2D

    oklch(47% 0.084 50.4)

  • #196A54

    #196A54

    oklch(47.1% 0.084 170.3)

  • #5B5286

    #5B5286

    oklch(47% 0.083 290.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #804C2D

    #804C2D

    oklch(47% 0.084 50.4)

  • #406638

    #406638

    oklch(46.9% 0.084 140.2)

  • #1A6381

    #1A6381

    oklch(47% 0.084 230.5)

  • #704B78

    #704B78

    oklch(47.1% 0.083 320.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #804C2D 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.