#7F6A17

Closest named color: Muddy Brown (#886806). oklch(53% 0.1 93.8), rgb(127, 106, 23).

Aa

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

About this color

#7F6A17 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 53%, its chroma 0.100 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Muddy Brown (#886806), ΔE 0.015 away. White text reads best on it, at 5.28:1.

Hue familyYellows
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.100)
Temperaturewarm
Nearest nameMuddy Brown (#886806)
Black text3.97:1
White text5.28:1

Values

HEX#7F6A17
RGBrgb(127, 106, 23)
HSLhsl(48, 69%, 29%)
OKLCHoklch(53% 0.1 93.8)

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 #7F6A17 5.28:1 AA Lc -81.5 Fine for body text
Black text on #7F6A17 3.97:1 AA large text Lc 28.0 Dividers and decoration only
#7F6A17 text on white 5.28:1 AA Lc 76.1 Fine for body text
#7F6A17 text on black 3.97:1 AA large text Lc -25.6 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 600.

  1. Step 50

    50

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #EDEAE0

    oklch(93.7% 0.014 93)

  3. Step 200

    200

    #DED9C7

    oklch(88.4% 0.025 94.1)

  4. Step 300

    300

    #CAC1A0

    oklch(81% 0.046 94.5)

  5. Step 400

    400

    #AFA06C

    oklch(70.6% 0.072 93.9)

  6. Step 500

    500

    #9C8844

    oklch(63% 0.091 93.2)

  7. Step 600

    600 (this color)

    #7F6A17

    oklch(53% 0.1 93.8)

  8. Step 700

    700

    #725F13

    oklch(49% 0.093 93.9)

  9. Step 800

    800

    #5D4E14

    oklch(42.8% 0.077 94.1)

  10. Step 900

    900

    #4C4118

    oklch(37.7% 0.06 94.3)

  11. Step 950

    950

    #2D260F

    oklch(27% 0.038 92.8)

Export this scale for Tailwind in the Tailwind colors tool

#7F6A17 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)#7668040.019
Deuteranopia (no green cones)#7C6E1D0.011
Tritanopia (no blue cones)#8A615A0.091
Achromatopsia (no color)#6C6C6C0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F6A17

    #7F6A17

    oklch(53% 0.1 93.8)

  • #5A67A5

    #5A67A5

    oklch(53.1% 0.099 273.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F6A17

    #7F6A17

    oklch(53% 0.1 93.8)

  • #945E25

    #945E25

    oklch(53.1% 0.1 63.7)

  • #60752E

    #60752E

    oklch(52.9% 0.1 123.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F6A17

    #7F6A17

    oklch(53% 0.1 93.8)

  • #3171A1

    #3171A1

    oklch(52.9% 0.1 244.1)

  • #785C9B

    #785C9B

    oklch(52.9% 0.101 303.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F6A17

    #7F6A17

    oklch(53% 0.1 93.8)

  • #00798C

    #00798C

    oklch(53% 0.093 213.6)

  • #8E5484

    #8E5484

    oklch(52.9% 0.101 333.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F6A17

    #7F6A17

    oklch(53% 0.1 93.8)

  • #007D72

    #007D72

    oklch(53% 0.094 184.2)

  • #5A67A5

    #5A67A5

    oklch(53.1% 0.099 273.6)

  • #9B5165

    #9B5165

    oklch(53% 0.1 3.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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