#804F03

Closest named color: Medium Brown (#7F5112). oklch(47.3% 0.102 68.7), rgb(128, 79, 3).

Aa

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

About this color

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

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

Values

HEX#804F03
RGBrgb(128, 79, 3)
HSLhsl(36, 95%, 26%)
OKLCHoklch(47.3% 0.102 68.7)

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 #804F03 6.91:1 AA Lc -88.6 Fine for body text
Black text on #804F03 3.03:1 AA large text Lc 20.4 Dividers and decoration only
#804F03 text on white 6.91:1 AA Lc 83.6 Fine for body text
#804F03 text on black 3.03: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

    #F0E8E0

    oklch(93.5% 0.014 67.7)

  3. Step 200

    200

    #E6D6C6

    oklch(88.5% 0.028 67.5)

  4. Step 300

    300

    #D6BB9F

    oklch(80.8% 0.049 68.1)

  5. Step 400

    400

    #C1986A

    oklch(70.7% 0.079 69.2)

  6. Step 500

    500

    #B17D40

    oklch(63% 0.101 68.5)

  7. Step 600

    600

    #9C661D

    oklch(55.6% 0.109 69.1)

  8. Step 700

    700 (this color)

    #804F03

    oklch(47.3% 0.102 68.7)

  9. Step 800

    800

    #6D4510

    oklch(42.7% 0.085 68.3)

  10. Step 900

    900

    #583A16

    oklch(37.6% 0.066 68.1)

  11. Step 950

    950

    #34220E

    oklch(26.9% 0.042 67.2)

Export this scale for Tailwind in the Tailwind colors tool

#804F03 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)#5F53000.062
Deuteranopia (no green cones)#6B5E060.054
Tritanopia (no blue cones)#8D43430.081
Achromatopsia (no color)#5A5A5A0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #804F03

    #804F03

    oklch(47.3% 0.102 68.7)

  • #265F92

    #265F92

    oklch(47.3% 0.102 248.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #804F03

    #804F03

    oklch(47.3% 0.102 68.7)

  • #8B452E

    #8B452E

    oklch(47.4% 0.102 38.8)

  • #6A5C00

    #6A5C00

    oklch(47.4% 0.098 98.9)

Open the analogous palette in the generator

Split complementary

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

  • #804F03

    #804F03

    oklch(47.3% 0.102 68.7)

  • #00667C

    #00667C

    oklch(47.2% 0.086 219.4)

  • #505494

    #505494

    oklch(47.3% 0.102 279)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #804F03

    #804F03

    oklch(47.3% 0.102 68.7)

  • #006A65

    #006A65

    oklch(47.3% 0.082 189.1)

  • #6C4A87

    #6C4A87

    oklch(47.3% 0.102 308.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #804F03

    #804F03

    oklch(47.3% 0.102 68.7)

  • #136C46

    #136C46

    oklch(47.2% 0.101 159.1)

  • #265F92

    #265F92

    oklch(47.3% 0.102 248.7)

  • #80436F

    #80436F

    oklch(47.3% 0.102 338.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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