#7F5D02

Closest named color: Mud (#735C12). oklch(50% 0.102 83.4), rgb(127, 93, 2).

Aa

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

About this color

#7F5D02 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 50%, its chroma 0.102 and its hue 83°. Its hue sits on the warm side of the wheel. The nearest named color is Mud (#735C12), ΔE 0.022 away. White text reads best on it, at 6.05:1.

Hue familyBrowns
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.102)
Temperaturewarm
Nearest nameMud (#735C12)
Black text3.46:1
White text6.05:1

Values

HEX#7F5D02
RGBrgb(127, 93, 2)
HSLhsl(44, 97%, 25%)
OKLCHoklch(50% 0.102 83.4)

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 #7F5D02 6.05:1 AA Lc -85.2 Fine for body text
Black text on #7F5D02 3.46:1 AA large text Lc 24.0 Dividers and decoration only
#7F5D02 text on white 6.05:1 AA Lc 80.0 Fine for body text
#7F5D02 text on black 3.46:1 AA large text Lc -21.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

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #EEE9DF

    oklch(93.5% 0.014 84.6)

  3. Step 200

    200

    #E2D8C5

    oklch(88.5% 0.028 83.5)

  4. Step 300

    300

    #D0BE9D

    oklch(80.8% 0.049 82.7)

  5. Step 400

    400

    #B89D66

    oklch(70.7% 0.079 84.4)

  6. Step 500

    500

    #A7843A

    oklch(63.2% 0.101 83.6)

  7. Step 600

    600

    #926C0F

    oklch(55.5% 0.11 83)

  8. Step 700

    700 (this color)

    #7F5D02

    oklch(50% 0.102 83.4)

  9. Step 800

    800

    #654A07

    oklch(42.7% 0.084 83.4)

  10. Step 900

    900

    #523E12

    oklch(37.7% 0.066 83.6)

  11. Step 950

    950

    #30240C

    oklch(26.8% 0.042 82.6)

Export this scale for Tailwind in the Tailwind colors tool

#7F5D02 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)#6B5D000.036
Deuteranopia (no green cones)#7366090.031
Tritanopia (no blue cones)#8B524E0.091
Achromatopsia (no color)#6262620.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F5D02

    #7F5D02

    oklch(50% 0.102 83.4)

  • #44629D

    #44629D

    oklch(50.1% 0.101 262.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F5D02

    #7F5D02

    oklch(50% 0.102 83.4)

  • #905124

    #905124

    oklch(50.1% 0.103 53.3)

  • #646916

    #646916

    oklch(50% 0.102 113.1)

Open the analogous palette in the generator

Split complementary

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

  • #7F5D02

    #7F5D02

    oklch(50% 0.102 83.4)

  • #076C94

    #076C94

    oklch(50.1% 0.102 233.5)

  • #665798

    #665798

    oklch(50.1% 0.102 293)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F5D02

    #7F5D02

    oklch(50% 0.102 83.4)

  • #007179

    #007179

    oklch(50% 0.085 203.4)

  • #7F4E84

    #7F4E84

    oklch(50% 0.101 323.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F5D02

    #7F5D02

    oklch(50% 0.102 83.4)

  • #00755F

    #00755F

    oklch(50.2% 0.096 173.6)

  • #44629D

    #44629D

    oklch(50.1% 0.101 262.8)

  • #8F4968

    #8F4968

    oklch(50.1% 0.101 353.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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