#7F602A

Closest named color: Dirt Brown (#836539). oklch(51% 0.082 79), rgb(127, 96, 42).

Aa

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

About this color

#7F602A is a medium-dark, moderately saturated brown. In OKLCH its lightness is 51%, its chroma 0.082 and its hue 79°. Its hue sits on the warm side of the wheel. The nearest named color is Dirt Brown (#836539), ΔE 0.020 away. White text reads best on it, at 5.81:1.

Hue familyBrowns
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.082)
Temperaturewarm
Nearest nameDirt Brown (#836539)
Black text3.60:1
White text5.81:1

Values

HEX#7F602A
RGBrgb(127, 96, 42)
HSLhsl(38, 50%, 33%)
OKLCHoklch(51% 0.082 79)

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 #7F602A 5.81:1 AA Lc -84.2 Fine for body text
Black text on #7F602A 3.60:1 AA large text Lc 25.1 Dividers and decoration only
#7F602A text on white 5.81:1 AA Lc 79.0 Fine for body text
#7F602A text on black 3.60:1 AA large text Lc -22.8 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

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #EEE9E2

    oklch(93.6% 0.011 76.6)

  3. Step 200

    200

    #E1D8C9

    oklch(88.5% 0.023 80.7)

  4. Step 300

    300

    #CFBEA5

    oklch(80.9% 0.039 77.6)

  5. Step 400

    400

    #B69C74

    oklch(70.6% 0.063 78.2)

  6. Step 500

    500

    #A4844F

    oklch(63.2% 0.081 79.1)

  7. Step 600

    600

    #8F6D32

    oklch(55.7% 0.088 79)

  8. Step 700

    700 (this color)

    #7F602A

    oklch(51% 0.082 79)

  9. Step 800

    800

    #634A20

    oklch(42.7% 0.067 78.2)

  10. Step 900

    900

    #513E1F

    oklch(37.7% 0.053 78.3)

  11. Step 950

    950

    #2F2513

    oklch(27.1% 0.033 81.3)

Export this scale for Tailwind in the Tailwind colors tool

#7F602A 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)#6C61240.034
Deuteranopia (no green cones)#74682C0.028
Tritanopia (no blue cones)#8A57540.071
Achromatopsia (no color)#6565650.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F602A

    #7F602A

    oklch(51% 0.082 79)

  • #496795

    #496795

    oklch(51.1% 0.082 258.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F602A

    #7F602A

    oklch(51% 0.082 79)

  • #8C573A

    #8C573A

    oklch(51% 0.082 48.9)

  • #6A6A2E

    #6A6A2E

    oklch(51.1% 0.082 109)

Open the analogous palette in the generator

Split complementary

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

  • #7F602A

    #7F602A

    oklch(51% 0.082 79)

  • #296F8B

    #296F8B

    oklch(51% 0.082 228.2)

  • #645E92

    #645E92

    oklch(51% 0.082 288.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F602A

    #7F602A

    oklch(51% 0.082 79)

  • #147478

    #147478

    oklch(51% 0.082 199.3)

  • #7A5684

    #7A5684

    oklch(50.9% 0.083 318.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F602A

    #7F602A

    oklch(51% 0.082 79)

  • #2C755E

    #2C755E

    oklch(51% 0.082 169.1)

  • #496795

    #496795

    oklch(51.1% 0.082 258.7)

  • #89526D

    #89526D

    oklch(51% 0.082 349.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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