#7F6B02

Closest named color: Muddy Brown (#886806). oklch(53.1% 0.109 96), rgb(127, 107, 2).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.109)
Temperaturewarm
Nearest nameMuddy Brown (#886806)
Black text4.00:1
White text5.24:1

Values

HEX#7F6B02
RGBrgb(127, 107, 2)
HSLhsl(50, 97%, 25%)
OKLCHoklch(53.1% 0.109 96)

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 #7F6B02 5.24:1 AA Lc -81.2 Fine for body text
Black text on #7F6B02 4.00:1 AA large text Lc 28.2 Dividers and decoration only
#7F6B02 text on white 5.24:1 AA Lc 75.8 Fine for body text
#7F6B02 text on black 4.00:1 AA large text Lc -25.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 600.

  1. Step 50

    50

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DED9C6

    oklch(88.4% 0.026 94.8)

  4. Step 300

    300

    #CAC19E

    oklch(80.9% 0.048 95.3)

  5. Step 400

    400

    #AFA167

    oklch(70.7% 0.079 96.2)

  6. Step 500

    500

    #9B893C

    oklch(63.1% 0.099 96.2)

  7. Step 600

    600 (this color)

    #7F6B02

    oklch(53.1% 0.109 96)

  8. Step 700

    700

    #726000

    oklch(49.2% 0.101 96.3)

  9. Step 800

    800

    #5D4E09

    oklch(42.7% 0.083 95.5)

  10. Step 900

    900

    #4C4113

    oklch(37.7% 0.065 95.6)

  11. Step 950

    950

    #2C260D

    oklch(26.9% 0.041 96)

Export this scale for Tailwind in the Tailwind colors tool

#7F6B02 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)#7869000.014
Deuteranopia (no green cones)#7D6F0E0.011
Tritanopia (no blue cones)#8A615A0.100
Achromatopsia (no color)#6C6C6C0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F6B02

    #7F6B02

    oklch(53.1% 0.109 96)

  • #5C65AA

    #5C65AA

    oklch(53.1% 0.108 276.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F6B02

    #7F6B02

    oklch(53.1% 0.109 96)

  • #965D17

    #965D17

    oklch(53% 0.109 65.6)

  • #5C772A

    #5C772A

    oklch(53.1% 0.109 126.3)

Open the analogous palette in the generator

Split complementary

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

  • #7F6B02

    #7F6B02

    oklch(53.1% 0.109 96)

  • #2D71A7

    #2D71A7

    oklch(53.1% 0.109 246)

  • #7C5A9E

    #7C5A9E

    oklch(53.1% 0.109 306)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F6B02

    #7F6B02

    oklch(53.1% 0.109 96)

  • #00798F

    #00798F

    oklch(53.1% 0.094 216.3)

  • #935284

    #935284

    oklch(53.2% 0.109 336.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F6B02

    #7F6B02

    oklch(53.1% 0.109 96)

  • #007D74

    #007D74

    oklch(53.1% 0.093 186)

  • #5C65AA

    #5C65AA

    oklch(53.1% 0.108 276.4)

  • #9F4F62

    #9F4F62

    oklch(53.1% 0.108 6.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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