#804D0B

Closest named color: Medium Brown (#7F5112). oklch(46.9% 0.1 65.4), rgb(128, 77, 11).

Aa

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

About this color

#804D0B is a medium-dark, moderately saturated brown. In OKLCH its lightness is 47%, its chroma 0.100 and its hue 65°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Brown (#7F5112), ΔE 0.010 away. White text reads best on it, at 7.03:1.

Hue familyBrowns
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.100)
Temperaturewarm
Nearest nameMedium Brown (#7F5112)
Black text2.98:1
White text7.03:1

Values

HEX#804D0B
RGBrgb(128, 77, 11)
HSLhsl(34, 84%, 27%)
OKLCHoklch(46.9% 0.1 65.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 #804D0B 7.03:1 AAA Lc -89.0 Fine for body text
Black text on #804D0B 2.98:1 Fails Lc 20.0 Dividers and decoration only
#804D0B text on white 7.03:1 AAA Lc 84.1 Fine for body text
#804D0B 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

    #F9F5F1

    oklch(97.2% 0.007 67.7)

  2. Step 100

    100

    #F1E8E0

    oklch(93.6% 0.015 64.3)

  3. Step 200

    200

    #E6D6C7

    oklch(88.5% 0.027 65.6)

  4. Step 300

    300

    #D7BBA0

    oklch(80.9% 0.049 66)

  5. Step 400

    400

    #C2976D

    oklch(70.7% 0.077 65.4)

  6. Step 500

    500

    #B27C44

    oklch(63% 0.099 65.3)

  7. Step 600

    600

    #9E6523

    oklch(55.7% 0.108 65.6)

  8. Step 700

    700 (this color)

    #804D0B

    oklch(46.9% 0.1 65.4)

  9. Step 800

    800

    #6E4415

    oklch(42.7% 0.083 64.6)

  10. Step 900

    900

    #593A19

    oklch(37.7% 0.064 65.2)

  11. Step 950

    950

    #342210

    oklch(27% 0.04 64.6)

Export this scale for Tailwind in the Tailwind colors tool

#804D0B 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)#5D52000.067
Deuteranopia (no green cones)#695D0D0.058
Tritanopia (no blue cones)#8D41410.076
Achromatopsia (no color)#5959590.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #804D0B

    #804D0B

    oklch(46.9% 0.1 65.4)

  • #205F8F

    #205F8F

    oklch(47% 0.1 245.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #804D0B

    #804D0B

    oklch(46.9% 0.1 65.4)

  • #894331

    #894331

    oklch(46.8% 0.1 35.5)

  • #6B5900

    #6B5900

    oklch(46.8% 0.096 95.3)

Open the analogous palette in the generator

Split complementary

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

  • #804D0B

    #804D0B

    oklch(46.9% 0.1 65.4)

  • #006678

    #006678

    oklch(47% 0.083 215.4)

  • #4B5492

    #4B5492

    oklch(46.8% 0.101 275.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #804D0B

    #804D0B

    oklch(46.9% 0.1 65.4)

  • #006961

    #006961

    oklch(46.9% 0.082 185.7)

  • #684A87

    #684A87

    oklch(46.8% 0.101 305.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #804D0B

    #804D0B

    oklch(46.9% 0.1 65.4)

  • #1E6B41

    #1E6B41

    oklch(47% 0.101 155.1)

  • #205F8F

    #205F8F

    oklch(47% 0.1 245.6)

  • #7C4370

    #7C4370

    oklch(46.8% 0.099 335.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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