#7F4D02

Closest named color: Medium Brown (#7F5112). oklch(46.7% 0.102 67.6), rgb(127, 77, 2).

Aa

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

About this color

#7F4D02 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 47%, its chroma 0.102 and its hue 68°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Brown (#7F5112), ΔE 0.011 away. White text reads best on it, at 7.08:1.

Hue familyBrowns
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.102)
Temperaturewarm
Nearest nameMedium Brown (#7F5112)
Black text2.96:1
White text7.08:1

Values

HEX#7F4D02
RGBrgb(127, 77, 2)
HSLhsl(36, 97%, 25%)
OKLCHoklch(46.7% 0.102 67.6)

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 #7F4D02 7.08:1 AAA Lc -89.2 Fine for body text
Black text on #7F4D02 2.96:1 Fails Lc 19.8 Dividers and decoration only
#7F4D02 text on white 7.08:1 AAA Lc 84.2 Fine for body text
#7F4D02 text on black 2.96:1 Fails Lc -17.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

    #F9F5F1

    oklch(97.2% 0.007 67.7)

  2. Step 100

    100

    #F1E8E0

    oklch(93.6% 0.015 64.3)

  3. Step 200

    200

    #E6D6C6

    oklch(88.5% 0.028 67.5)

  4. Step 300

    300

    #D7BB9F

    oklch(80.9% 0.05 67)

  5. Step 400

    400

    #C2976B

    oklch(70.6% 0.079 66.6)

  6. Step 500

    500

    #B27D41

    oklch(63.1% 0.101 67.5)

  7. Step 600

    600

    #9D651E

    oklch(55.5% 0.11 67.4)

  8. Step 700

    700 (this color)

    #7F4D02

    oklch(46.7% 0.102 67.6)

  9. Step 800

    800

    #6D4511

    oklch(42.7% 0.084 68)

  10. Step 900

    900

    #593A17

    oklch(37.7% 0.066 66.5)

  11. Step 950

    950

    #34220E

    oklch(26.9% 0.042 67.2)

Export this scale for Tailwind in the Tailwind colors tool

#7F4D02 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)#5D51000.064
Deuteranopia (no green cones)#695D040.057
Tritanopia (no blue cones)#8C41410.080
Achromatopsia (no color)#5858580.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F4D02

    #7F4D02

    oklch(46.7% 0.102 67.6)

  • #225E90

    #225E90

    oklch(46.8% 0.102 247.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F4D02

    #7F4D02

    oklch(46.7% 0.102 67.6)

  • #89432E

    #89432E

    oklch(46.7% 0.101 37.5)

  • #695A00

    #695A00

    oklch(46.8% 0.097 97.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F4D02

    #7F4D02

    oklch(46.7% 0.102 67.6)

  • #006579

    #006579

    oklch(46.8% 0.084 217.6)

  • #4D5392

    #4D5392

    oklch(46.7% 0.102 277.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F4D02

    #7F4D02

    oklch(46.7% 0.102 67.6)

  • #006862

    #006862

    oklch(46.6% 0.081 187.9)

  • #6A4986

    #6A4986

    oklch(46.8% 0.102 307.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F4D02

    #7F4D02

    oklch(46.7% 0.102 67.6)

  • #146B43

    #146B43

    oklch(46.8% 0.102 157.6)

  • #225E90

    #225E90

    oklch(46.8% 0.102 247.4)

  • #7E426E

    #7E426E

    oklch(46.9% 0.101 338)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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