#804F12

Closest named color: Medium Brown (#7F5112). oklch(47.3% 0.097 66), rgb(128, 79, 18).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameMedium Brown (#7F5112)
Black text3.04:1
White text6.89:1

Values

HEX#804F12
RGBrgb(128, 79, 18)
HSLhsl(33, 75%, 29%)
OKLCHoklch(47.3% 0.097 66)

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 #804F12 6.89:1 AA Lc -88.6 Fine for body text
Black text on #804F12 3.04:1 AA large text Lc 20.5 Dividers and decoration only
#804F12 text on white 6.89:1 AA Lc 83.6 Fine for body text
#804F12 text on black 3.04:1 AA large text Lc -18.4 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

    #F8F5F1

    oklch(97.1% 0.006 75.4)

  2. Step 100

    100

    #F0E8E1

    oklch(93.5% 0.013 63.9)

  3. Step 200

    200

    #E6D6C8

    oklch(88.5% 0.026 63.7)

  4. Step 300

    300

    #D6BBA1

    oklch(80.8% 0.047 66)

  5. Step 400

    400

    #C1976E

    oklch(70.6% 0.075 65.4)

  6. Step 500

    500

    #B17D47

    oklch(63.1% 0.096 65.6)

  7. Step 600

    600

    #9C6527

    oklch(55.5% 0.104 65.5)

  8. Step 700

    700 (this color)

    #804F12

    oklch(47.3% 0.097 66)

  9. Step 800

    800

    #6C4518

    oklch(42.7% 0.08 66.1)

  10. Step 900

    900

    #583A1A

    oklch(37.6% 0.063 65.5)

  11. Step 950

    950

    #342210

    oklch(27% 0.04 64.6)

Export this scale for Tailwind in the Tailwind colors tool

#804F12 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)#5F53060.063
Deuteranopia (no green cones)#6A5F130.057
Tritanopia (no blue cones)#8C43430.074
Achromatopsia (no color)#5A5A5A0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #804F12

    #804F12

    oklch(47.3% 0.097 66)

  • #25608F

    #25608F

    oklch(47.4% 0.097 246.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #804F12

    #804F12

    oklch(47.3% 0.097 66)

  • #894634

    #894634

    oklch(47.3% 0.096 36)

  • #6C5B01

    #6C5B01

    oklch(47.4% 0.097 96.3)

Open the analogous palette in the generator

Split complementary

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

  • #804F12

    #804F12

    oklch(47.3% 0.097 66)

  • #00677A

    #00677A

    oklch(47.3% 0.084 216.2)

  • #4D5692

    #4D5692

    oklch(47.4% 0.097 275.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #804F12

    #804F12

    oklch(47.3% 0.097 66)

  • #006B63

    #006B63

    oklch(47.5% 0.083 185.9)

  • #694C87

    #694C87

    oklch(47.3% 0.098 305.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #804F12

    #804F12

    oklch(47.3% 0.097 66)

  • #226C44

    #226C44

    oklch(47.5% 0.097 155.8)

  • #25608F

    #25608F

    oklch(47.4% 0.097 246.1)

  • #7D4570

    #7D4570

    oklch(47.3% 0.097 336.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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