#7F4C18

Closest named color: Milk Chocolate (#7F4E1E). oklch(46.7% 0.094 61.6), rgb(127, 76, 24).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.094)
Temperaturewarm
Nearest nameMilk Chocolate (#7F4E1E)
Black text2.94:1
White text7.12:1

Values

HEX#7F4C18
RGBrgb(127, 76, 24)
HSLhsl(30, 68%, 30%)
OKLCHoklch(46.7% 0.094 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 #7F4C18 7.12:1 AAA Lc -89.3 Fine for body text
Black text on #7F4C18 2.94:1 Fails Lc 19.6 Dividers and decoration only
#7F4C18 text on white 7.12:1 AAA Lc 84.4 Fine for body text
#7F4C18 text on black 2.94:1 Fails Lc -17.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 700.

  1. Step 50

    50

    #F9F5F1

    oklch(97.2% 0.007 67.7)

  2. Step 100

    100

    #F1E8E1

    oklch(93.6% 0.014 60.6)

  3. Step 200

    200

    #E6D6C9

    oklch(88.6% 0.025 61.6)

  4. Step 300

    300

    #D7BBA3

    oklch(81% 0.046 62.7)

  5. Step 400

    400

    #C29771

    oklch(70.8% 0.073 62.7)

  6. Step 500

    500

    #B27C4C

    oklch(63.1% 0.093 61.5)

  7. Step 600

    600

    #9D642E

    oklch(55.5% 0.101 61.4)

  8. Step 700

    700 (this color)

    #7F4C18

    oklch(46.7% 0.094 61.6)

  9. Step 800

    800

    #6D441D

    oklch(42.6% 0.078 61.5)

  10. Step 900

    900

    #593A1D

    oklch(37.8% 0.061 62.2)

  11. Step 950

    950

    #342212

    oklch(27% 0.038 61.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F4C18 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)#5C51100.067
Deuteranopia (no green cones)#685D190.060
Tritanopia (no blue cones)#8B40420.070
Achromatopsia (no color)#5858580.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F4C18

    #7F4C18

    oklch(46.7% 0.094 61.6)

  • #1D5F8A

    #1D5F8A

    oklch(46.6% 0.095 242)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F4C18

    #7F4C18

    oklch(46.7% 0.094 61.6)

  • #874437

    #874437

    oklch(46.8% 0.095 32.3)

  • #6D5703

    #6D5703

    oklch(46.6% 0.094 91.4)

Open the analogous palette in the generator

Split complementary

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

  • #7F4C18

    #7F4C18

    oklch(46.7% 0.094 61.6)

  • #006674

    #006674

    oklch(46.8% 0.081 211.1)

  • #47568F

    #47568F

    oklch(46.8% 0.094 271.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F4C18

    #7F4C18

    oklch(46.7% 0.094 61.6)

  • #00695D

    #00695D

    oklch(46.7% 0.084 181.4)

  • #644C86

    #644C86

    oklch(46.7% 0.095 301.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F4C18

    #7F4C18

    oklch(46.7% 0.094 61.6)

  • #2A693E

    #2A693E

    oklch(46.8% 0.095 151.4)

  • #1D5F8A

    #1D5F8A

    oklch(46.6% 0.095 242)

  • #784572

    #784572

    oklch(46.7% 0.094 331.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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