#7F5D18

Closest named color: Mud (#735C12). oklch(50.1% 0.093 80.5), rgb(127, 93, 24).

Aa

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

About this color

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

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

Values

HEX#7F5D18
RGBrgb(127, 93, 24)
HSLhsl(40, 68%, 30%)
OKLCHoklch(50.1% 0.093 80.5)

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 #7F5D18 6.03:1 AA Lc -85.2 Fine for body text
Black text on #7F5D18 3.48:1 AA large text Lc 24.1 Dividers and decoration only
#7F5D18 text on white 6.03:1 AA Lc 80.0 Fine for body text
#7F5D18 text on black 3.48:1 AA large text Lc -21.9 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

    #EEE9E0

    oklch(93.5% 0.013 82.4)

  3. Step 200

    200

    #E2D8C7

    oklch(88.6% 0.025 81.1)

  4. Step 300

    300

    #D0BEA0

    oklch(80.9% 0.045 80.5)

  5. Step 400

    400

    #B89C6C

    oklch(70.6% 0.072 80.6)

  6. Step 500

    500

    #A68344

    oklch(63% 0.092 80.5)

  7. Step 600

    600

    #926C22

    oklch(55.6% 0.101 80.1)

  8. Step 700

    700 (this color)

    #7F5D18

    oklch(50.1% 0.093 80.5)

  9. Step 800

    800

    #654A14

    oklch(42.8% 0.078 80.7)

  10. Step 900

    900

    #523E18

    oklch(37.7% 0.061 81.1)

  11. Step 950

    950

    #30240F

    oklch(26.9% 0.038 80)

Export this scale for Tailwind in the Tailwind colors tool

#7F5D18 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)#6B5E0C0.037
Deuteranopia (no green cones)#73661B0.031
Tritanopia (no blue cones)#8B53500.082
Achromatopsia (no color)#6363630.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F5D18

    #7F5D18

    oklch(50.1% 0.093 80.5)

  • #446399

    #446399

    oklch(50.1% 0.094 260.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F5D18

    #7F5D18

    oklch(50.1% 0.093 80.5)

  • #8D522F

    #8D522F

    oklch(50% 0.093 50)

  • #676820

    #676820

    oklch(50.2% 0.093 110.1)

Open the analogous palette in the generator

Split complementary

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

  • #7F5D18

    #7F5D18

    oklch(50.1% 0.093 80.5)

  • #166D8F

    #166D8F

    oklch(50.2% 0.093 230.4)

  • #645995

    #645995

    oklch(50.1% 0.094 291)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F5D18

    #7F5D18

    oklch(50.1% 0.093 80.5)

  • #007277

    #007277

    oklch(50.2% 0.085 200.1)

  • #7B5184

    #7B5184

    oklch(50.1% 0.093 320.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F5D18

    #7F5D18

    oklch(50.1% 0.093 80.5)

  • #13745C

    #13745C

    oklch(50% 0.093 170.9)

  • #446399

    #446399

    oklch(50.1% 0.094 260.9)

  • #8B4C6B

    #8B4C6B

    oklch(50.2% 0.093 350.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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