#7B5104

Closest named color: Medium Brown (#7F5112). oklch(47% 0.098 74), rgb(123, 81, 4).

Aa

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

About this color

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

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

Values

HEX#7B5104
RGBrgb(123, 81, 4)
HSLhsl(39, 94%, 25%)
OKLCHoklch(47% 0.098 74)

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 #7B5104 6.95:1 AA Lc -88.8 Fine for body text
Black text on #7B5104 3.02:1 AA large text Lc 20.2 Dividers and decoration only
#7B5104 text on white 6.95:1 AA Lc 83.8 Fine for body text
#7B5104 text on black 3.02:1 AA large text Lc -18.2 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

    #EFE9E0

    oklch(93.6% 0.014 78.3)

  3. Step 200

    200

    #E4D7C7

    oklch(88.5% 0.026 73.2)

  4. Step 300

    300

    #D3BD9F

    oklch(80.9% 0.048 75.5)

  5. Step 400

    400

    #BD9A6B

    oklch(70.7% 0.076 74.3)

  6. Step 500

    500

    #AC8041

    oklch(63% 0.097 74.2)

  7. Step 600

    600

    #98691E

    oklch(55.7% 0.106 74.1)

  8. Step 700

    700 (this color)

    #7B5104

    oklch(47% 0.098 74)

  9. Step 800

    800

    #694712

    oklch(42.6% 0.081 73.6)

  10. Step 900

    900

    #553C17

    oklch(37.6% 0.063 74.3)

  11. Step 950

    950

    #32230F

    oklch(26.9% 0.039 72.7)

Export this scale for Tailwind in the Tailwind colors tool

#7B5104 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)#6053000.050
Deuteranopia (no green cones)#6A5E080.045
Tritanopia (no blue cones)#8746440.081
Achromatopsia (no color)#5959590.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B5104

    #7B5104

    oklch(47% 0.098 74)

  • #305C90

    #305C90

    oklch(46.9% 0.098 253.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B5104

    #7B5104

    oklch(47% 0.098 74)

  • #874729

    #874729

    oklch(47.1% 0.097 44.7)

  • #645D03

    #645D03

    oklch(47% 0.098 104.4)

Open the analogous palette in the generator

Split complementary

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

  • #7B5104

    #7B5104

    oklch(47% 0.098 74)

  • #00657F

    #00657F

    oklch(47.1% 0.088 223.4)

  • #555290

    #555290

    oklch(47.1% 0.099 284.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B5104

    #7B5104

    oklch(47% 0.098 74)

  • #006968

    #006968

    oklch(47.1% 0.081 193.6)

  • #6F4981

    #6F4981

    oklch(47.1% 0.098 314.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B5104

    #7B5104

    oklch(47% 0.098 74)

  • #076C4C

    #076C4C

    oklch(47.1% 0.098 164)

  • #305C90

    #305C90

    oklch(46.9% 0.098 253.9)

  • #804268

    #804268

    oklch(46.9% 0.098 344)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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