#7F702F

Closest named color: Muddy Brown (#886806). oklch(54.5% 0.087 96.4), rgb(127, 112, 47).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.087)
Temperaturewarm
Nearest nameMuddy Brown (#886806)
Black text4.26:1
White text4.92:1

Values

HEX#7F702F
RGBrgb(127, 112, 47)
HSLhsl(49, 46%, 34%)
OKLCHoklch(54.5% 0.087 96.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 #7F702F 4.92:1 AA Lc -79.5 Fine for body text
Black text on #7F702F 4.26:1 AA large text Lc 30.0 Non-text elements, placeholder text
#7F702F text on white 4.92:1 AA Lc 74.1 Content text, not long reading
#7F702F text on black 4.26:1 AA large text Lc -27.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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE2

    oklch(93.6% 0.011 95.2)

  3. Step 200

    200

    #DDD9CA

    oklch(88.4% 0.021 94.5)

  4. Step 300

    300

    #C8C1A5

    oklch(80.9% 0.039 95.5)

  5. Step 400

    400

    #ACA174

    oklch(70.7% 0.063 96)

  6. Step 500

    500

    #978A4F

    oklch(63.1% 0.081 97.2)

  7. Step 600

    600 (this color)

    #7F702F

    oklch(54.5% 0.087 96.4)

  8. Step 700

    700

    #6E6025

    oklch(49% 0.08 95.9)

  9. Step 800

    800

    #5A4F20

    oklch(42.8% 0.067 96.2)

  10. Step 900

    900

    #4A4220

    oklch(37.9% 0.052 96.4)

  11. Step 950

    950

    #2B2613

    oklch(26.9% 0.033 95.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F702F 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)#7B6E280.011
Deuteranopia (no green cones)#7F72320.006
Tritanopia (no blue cones)#8968620.080
Achromatopsia (no color)#7070700.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F702F

    #7F702F

    oklch(54.5% 0.087 96.4)

  • #636BA3

    #636BA3

    oklch(54.5% 0.088 276.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F702F

    #7F702F

    oklch(54.5% 0.087 96.4)

  • #926635

    #926635

    oklch(54.6% 0.086 67.2)

  • #637940

    #637940

    oklch(54.4% 0.086 126.4)

Open the analogous palette in the generator

Split complementary

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

  • #7F702F

    #7F702F

    oklch(54.5% 0.087 96.4)

  • #4375A0

    #4375A0

    oklch(54.6% 0.087 246.2)

  • #7D6398

    #7D6398

    oklch(54.6% 0.086 306.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F702F

    #7F702F

    oklch(54.5% 0.087 96.4)

  • #227C91

    #227C91

    oklch(54.4% 0.087 217.2)

  • #905C83

    #905C83

    oklch(54.5% 0.087 336.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F702F

    #7F702F

    oklch(54.5% 0.087 96.4)

  • #1F8078

    #1F8078

    oklch(54.4% 0.087 186.7)

  • #636BA3

    #636BA3

    oklch(54.5% 0.088 276.9)

  • #9B5A68

    #9B5A68

    oklch(54.6% 0.087 6.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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