#7B520B

Closest named color: Medium Brown (#7F5112). oklch(47.2% 0.096 74), rgb(123, 82, 11).

Aa

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

About this color

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

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

Values

HEX#7B520B
RGBrgb(123, 82, 11)
HSLhsl(38, 84%, 26%)
OKLCHoklch(47.2% 0.096 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 #7B520B 6.87:1 AA Lc -88.5 Fine for body text
Black text on #7B520B 3.05:1 AA large text Lc 20.5 Dividers and decoration only
#7B520B text on white 6.87:1 AA Lc 83.5 Fine for body text
#7B520B text on black 3.05: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

    #EFE9E0

    oklch(93.6% 0.014 78.3)

  3. Step 200

    200

    #E4D7C7

    oklch(88.5% 0.026 73.2)

  4. Step 300

    300

    #D3BDA0

    oklch(80.9% 0.047 74.7)

  5. Step 400

    400

    #BD9A6C

    oklch(70.7% 0.075 73.7)

  6. Step 500

    500

    #AC8044

    oklch(63.1% 0.095 73.1)

  7. Step 600

    600

    #976922

    oklch(55.6% 0.103 73.8)

  8. Step 700

    700 (this color)

    #7B520B

    oklch(47.2% 0.096 74)

  9. Step 800

    800

    #694814

    oklch(42.9% 0.08 74.3)

  10. Step 900

    900

    #553C18

    oklch(37.6% 0.062 73.8)

  11. Step 950

    950

    #32230F

    oklch(26.9% 0.039 72.7)

Export this scale for Tailwind in the Tailwind colors tool

#7B520B 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)#6154000.049
Deuteranopia (no green cones)#6A5E0E0.043
Tritanopia (no blue cones)#8747450.080
Achromatopsia (no color)#5A5A5A0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B520B

    #7B520B

    oklch(47.2% 0.096 74)

  • #325D90

    #325D90

    oklch(47.2% 0.096 253.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B520B

    #7B520B

    oklch(47.2% 0.096 74)

  • #87482B

    #87482B

    oklch(47.3% 0.096 44.5)

  • #655E0A

    #655E0A

    oklch(47.4% 0.096 104.2)

Open the analogous palette in the generator

Split complementary

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

  • #7B520B

    #7B520B

    oklch(47.2% 0.096 74)

  • #006580

    #006580

    oklch(47.1% 0.089 224.4)

  • #55538F

    #55538F

    oklch(47.2% 0.096 283.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B520B

    #7B520B

    oklch(47.2% 0.096 74)

  • #006969

    #006969

    oklch(47.2% 0.08 194.8)

  • #6F4A81

    #6F4A81

    oklch(47.3% 0.096 314)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B520B

    #7B520B

    oklch(47.2% 0.096 74)

  • #106C4D

    #106C4D

    oklch(47.3% 0.095 164.1)

  • #325D90

    #325D90

    oklch(47.2% 0.096 253.9)

  • #804469

    #804469

    oklch(47.3% 0.095 343.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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