Milk Chocolate #7F4E1E

Milk Chocolate is a medium-dark, moderately saturated brown with hex code #7F4E1E and RGB 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

Colors that go with Milk Chocolate

Matches found by rotating Milk Chocolate around the OKLCH hue wheel, each labelled with the closest name in our list.

Analogous

Neighbouring hues, 30° either side.

Open the analogous palette in the generator

Color palettes with Milk Chocolate

Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Milk Chocolate, closest first.

Similar named colors

The eight named colors closest to Milk Chocolate, with their ΔE distance.

More about Milk Chocolate

How to make Milk Chocolate

A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.

  • 4 parts brown
  • 1 part orange

Recipe result: #804D26, a difference of ΔE 0.010 from Milk Chocolate. That is very close: most people will not see the difference.

What colors make brown? | Color mixing chart

Codes for Milk Chocolate in every format

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

Shades and tints of Milk Chocolate

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

Milk Chocolate 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

Use Milk Chocolate 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.