#7F4702

Closest named color: Milk Chocolate (#7F4E1E). oklch(45.6% 0.104 61.8), rgb(127, 71, 2).

Aa

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

About this color

#7F4702 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 46%, its chroma 0.104 and its hue 62°. Its hue sits on the warm side of the wheel. The nearest named color is Milk Chocolate (#7F4E1E), ΔE 0.020 away. White text reads best on it, at 7.48:1.

Hue familyBrowns
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.104)
Temperaturewarm
Nearest nameMilk Chocolate (#7F4E1E)
Black text2.80:1
White text7.48:1

Values

HEX#7F4702
RGBrgb(127, 71, 2)
HSLhsl(33, 97%, 25%)
OKLCHoklch(45.6% 0.104 61.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 #7F4702 7.48:1 AAA Lc -90.5 Preferred for body text
Black text on #7F4702 2.80:1 Fails Lc 18.4 Dividers and decoration only
#7F4702 text on white 7.48:1 AAA Lc 85.6 Fine for body text
#7F4702 text on black 2.80:1 Fails Lc -16.4 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 800.

  1. Step 50

    50

    #FAF4F0

    oklch(97.1% 0.008 56.3)

  2. Step 100

    100

    #F3E8DE

    oklch(93.7% 0.018 64.9)

  3. Step 200

    200

    #EAD5C3

    oklch(88.5% 0.034 63)

  4. Step 300

    300

    #DEB899

    oklch(80.8% 0.061 61)

  5. Step 400

    400

    #CC935F

    oklch(70.7% 0.097 62.6)

  6. Step 500

    500

    #BE762D

    oklch(63% 0.124 62)

  7. Step 600

    600

    #A75F00

    oklch(55.6% 0.128 62.1)

  8. Step 700

    700

    #8D4F00

    oklch(49.1% 0.113 61.8)

  9. Step 800

    800 (this color)

    #7F4702

    oklch(45.6% 0.104 61.8)

  10. Step 900

    900

    #603608

    oklch(37.7% 0.082 61.5)

  11. Step 950

    950

    #382008

    oklch(27% 0.052 62.3)

Export this scale for Tailwind in the Tailwind colors tool

#7F4702 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)#584D000.074
Deuteranopia (no green cones)#665A030.067
Tritanopia (no blue cones)#8C3A3C0.076
Achromatopsia (no color)#5555550.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F4702

    #7F4702

    oklch(45.6% 0.104 61.8)

  • #095C8B

    #095C8B

    oklch(45.5% 0.104 241.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F4702

    #7F4702

    oklch(45.6% 0.104 61.8)

  • #873D30

    #873D30

    oklch(45.5% 0.105 31.6)

  • #6A5400

    #6A5400

    oklch(45.5% 0.093 91.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F4702

    #7F4702

    oklch(45.6% 0.104 61.8)

  • #006270

    #006270

    oklch(45.5% 0.079 211.6)

  • #435190

    #435190

    oklch(45.5% 0.104 272.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F4702

    #7F4702

    oklch(45.6% 0.104 61.8)

  • #00655A

    #00655A

    oklch(45.5% 0.081 182.1)

  • #624787

    #624787

    oklch(45.6% 0.105 301.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F4702

    #7F4702

    oklch(45.6% 0.104 61.8)

  • #1D6738

    #1D6738

    oklch(45.6% 0.105 151.6)

  • #095C8B

    #095C8B

    oklch(45.5% 0.104 241.9)

  • #773F71

    #773F71

    oklch(45.6% 0.104 331.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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