#7F4E1E

Named color: Milk Chocolate. oklch(47.1% 0.091 61.6), rgb(127, 78, 30).

Aa

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

About this color

#7F4E1E is a medium-dark, moderately saturated brown. In OKLCH its lightness is 47%, its chroma 0.091 and its hue 62°. Its hue sits on the warm side of the wheel. It is the named color Milk Chocolate. White text reads best on it, at 6.97:1.

Hue familyBrowns
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.091)
Temperaturewarm
Nearest nameMilk Chocolate
Black text3.01:1
White text6.97:1

Values

HEX#7F4E1E
RGBrgb(127, 78, 30)
HSLhsl(30, 62%, 31%)
OKLCHoklch(47.1% 0.091 61.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 #7F4E1E 6.97:1 AA Lc -88.9 Fine for body text
Black text on #7F4E1E 3.01:1 AA large text Lc 20.1 Dividers and decoration only
#7F4E1E text on white 6.97:1 AA Lc 83.9 Fine for body text
#7F4E1E text on black 3.01:1 AA large text Lc -18.1 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

    #F8F5F1

    oklch(97.1% 0.006 75.4)

  2. Step 100

    100

    #F0E8E1

    oklch(93.5% 0.013 63.9)

  3. Step 200

    200

    #E5D6C9

    oklch(88.5% 0.024 63.5)

  4. Step 300

    300

    #D6BBA4

    oklch(80.9% 0.044 62.6)

  5. Step 400

    400

    #C19774

    oklch(70.7% 0.07 61.1)

  6. Step 500

    500

    #B17D4F

    oklch(63.2% 0.09 61.6)

  7. Step 600

    600

    #9C6532

    oklch(55.6% 0.097 61.3)

  8. Step 700

    700 (this color)

    #7F4E1E

    oklch(47.1% 0.091 61.6)

  9. Step 800

    800

    #6C4520

    oklch(42.7% 0.074 62)

  10. Step 900

    900

    #583A1F

    oklch(37.7% 0.059 61.5)

  11. Step 950

    950

    #342213

    oklch(27% 0.037 60.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F4E1E 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)#5D53180.064
Deuteranopia (no green cones)#695E1F0.057
Tritanopia (no blue cones)#8B43440.066
Achromatopsia (no color)#5959590.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F4E1E

    #7F4E1E

    oklch(47.1% 0.091 61.6)

  • #236189

    #236189

    oklch(47.2% 0.09 241)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F4E1E

    #7F4E1E

    oklch(47.1% 0.091 61.6)

  • #86463A

    #86463A

    oklch(47% 0.09 31.8)

  • #6E590E

    #6E590E

    oklch(47.2% 0.091 91.7)

Open the analogous palette in the generator

Split complementary

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

  • #7F4E1E

    #7F4E1E

    oklch(47.1% 0.091 61.6)

  • #006775

    #006775

    oklch(47.1% 0.082 210.9)

  • #49578E

    #49578E

    oklch(47.1% 0.091 271.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F4E1E

    #7F4E1E

    oklch(47.1% 0.091 61.6)

  • #006A5E

    #006A5E

    oklch(47% 0.084 181.5)

  • #644E85

    #644E85

    oklch(47% 0.09 301.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F4E1E

    #7F4E1E

    oklch(47.1% 0.091 61.6)

  • #2E6941

    #2E6941

    oklch(47% 0.09 152)

  • #236189

    #236189

    oklch(47.2% 0.09 241)

  • #784772

    #784772

    oklch(47.1% 0.09 331.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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