Photo in the color Dark brown
Pictured: Dark brown, the closest color we have a photo of (#654321)
rgb(102, 76, 40)
#664C28

Donkey Brown #664C28 RGB Color Code

Donkey Brown (#664C28) is a muted, dark brown. In RGB it is made of 40% red, 30% green and 16% blue (R 102, G 76, B 40). The red channel is the strongest. In HSL it has a hue of 35Β°, 44% saturation and 28% lightness. Its relative luminance is 0.081, so white text is easier to read on top of it. For print, a rough CMYK match is 0% cyan, 25% magenta, 61% yellow and 60% black. Check it against your printer's ICC profile before you print. It is a warm color. It goes well with cool blues and greens for contrast. For a matching look, use nearby warm tones.

Open in color picker

Donkey Brown color codes

#664C28 in every common color format. Click a value to copy it.

FormatValueNotesCopy
HEX #664C28 Valid CSS
RGB rgb(102, 76, 40) Valid CSS
HSL hsl(35, 44%, 28%) Valid CSS
HSV / HSB hsv(35, 61%, 40%) Not a CSS format
HWB hwb(35 16% 60%) Valid CSS
CMYK cmyk(0%, 25%, 61%, 60%) Approximate (no ICC profile)
OKLCH oklch(43.59% 0.0624 73.87) Valid CSS
OKLab oklab(43.59% 0.0173 0.06) Valid CSS
CIELAB lab(34.53% 7.99 25.6) D50, as in CSS
CIELCH lch(34.53% 26.82 72.66) Valid CSS
Display P3 color(display-p3 0.3843 0.3021 0.1786) Valid CSS
XYZ (D65) color(xyz-d65 0.0845 0.0815 0.0314) Valid CSS
Decimal 6704168 Integer (0xRRGGBB)

CMYK here is a rough screen match without an ICC profile. See CMYK and print. Relative luminance: 0.0815. Nearest web-safe color: #663333.

Mix Donkey Brown with other colors

See what #664C28 makes with red paint, under a green light, printed with cyan ink and in a digital blend with blue. Click a picture to change the colors and amounts in the color mixer.

Use Donkey Brown in your code

Ready to paste into CSS, Sass, Tailwind, iOS, Android and Flutter. Click the icon to copy a line.

WhereCodeCopy
CSS variable--donkey-brown: #664C28;
Sass variable$donkey-brown: #664C28;
Tailwind CSS v4@theme { --color-donkey-brown: #664C28; }
Tailwind CSS v3 configcolors: { 'donkey-brown': '#664C28' }
SwiftUIColor(red: 0.4, green: 0.298, blue: 0.157)
UIKitUIColor(red: 0.4, green: 0.298, blue: 0.157, alpha: 1)
Android XML<color name="donkey_brown">#FF664C28</color>
Flutter and Jetpack ComposeColor(0xFF664C28)

Accessibility and contrast

White text works best on #664C28 (7.99:1, AAA). Here is how #664C28 does as a text color:

Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
7.99:1 on white
APCA Lc 88
AAA
Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
2.63:1 on black
APCA Lc -15
Fails AATry #8B704B

Check this color against any background in the contrast checker. WCAG ratios and APCA Lc values measure different things, so one can't stand in for the other. Learn more.

How people with color blindness see Donkey Brown

#664C28 next to its complement and its two triadic colors, as seen with each type of color blindness.

  • Normal visionhow most people see it
  • Protanopiano red cones, about 1% of men
  • Deuteranopiano green cones, the most common type
  • Tritanopiano blue cones, very rare
  • Achromatopsiano color at all, very rare

With protanopia and deuteranopia, #664C28 and #28664C look much alike. Don't use these colors alone to tell things apart, for example in a chart. Add labels, patterns or a difference in lightness. Try your own colors in the color blindness simulator.

About the color Donkey Brown

One name, many browns

Donkey brown, #664C28, is a dark, warm brown. The name comes from online color lists, and we found no paint maker or color standard behind this code. Other sites use the same name for much lighter tan colors, such as #A69279, so the name alone does not pin down one shade.

A close match

This code is only a few steps away from Van Dyke brown, #664228 on this site. That pigment is named after the painter Anthony van Dyck. For more dark browns, see our shades of brown.

Donkey Brown in a user interface

A sample app screen with #664C28 as the main color, on a light and a dark theme.

Light theme

Dark theme

Buttons and bars use #664C28 as it is. On the dark theme, #664C28 is too hard to read as text (2.22:1), so links, the badge and outline text use #987C57 there (4.53:1). Build a full color scheme around it in the UI color preview.

Color harmonies for Donkey Brown

These schemes turn the hue of #664C28 around the color wheel. Each swatch links to its own page.

Complementary

Two colors on opposite sides of the wheel. This gives the most contrast.

Open palette

Analogous

Hues that sit next to each other and look good together.

Open palette

Triadic

Three hues spaced evenly around the wheel. Bold, but still balanced.

Open palette

Split complementary

A base color plus the two hues on each side of its opposite. Strong contrast that clashes less.

Open palette

Tetradic (rectangle)

Two pairs of opposite colors. Let one color lead and use the others less.

Open palette

Square

Four hues 90Β° apart, spread evenly around the wheel.

Open palette

Monochromatic

One hue at different levels of lightness and saturation.

Open palette

Gradients with Donkey Brown

Four CSS gradients made from #664C28. Copy the code, or open one in the gradient generator to change it.

Soft tint

From a pale tint to the full color.

background: linear-gradient(90deg, #DFD9D1, #664C28);

Edit in the gradient generator

Deep shade

The color fading into a dark shade.

background: linear-gradient(180deg, #664C28, #170F04);

Edit in the gradient generator

Analogous

Its two neighbors on the color wheel.

background: linear-gradient(135deg, #662D28, #664C28, #616628);

Edit in the gradient generator

Triadic

A bold blend with a triadic color, through a clean middle.

background: linear-gradient(135deg, #664C28, #4F5A3B, #28664C);

Edit in the gradient generator

Shades, tints and tones of Donkey Brown

Shades are darker, tints are lighter and tones are grayer. We make them in OKLCH so the steps look even. Hover a step to see its code, or click it to open it.

Design system scale (50 to 950)

Donkey Brown sits at step 700. Export the full scale as CSS variables or Tailwind tokens from the picker.

  1. 50
    FFF5E9
  2. 100
    F9EAD8
  3. 200
    EBD7BF
  4. 300
    D5BD9D
  5. 400
    BA9E7A
  6. 500
    9D815C
  7. 600
    816743
  8. 700
    664C28
  9. 800
    523E23
  10. 900
    3C2D19
  11. 950
    231B11

Closest RAL, Tailwind and CSS colors

The nearest match to #664C28 in three color systems that designers and builders use.

Ξ”E is the distance in OKLab: under 2 is hard to see, over 10 is a clearly different color. Browse all RAL colors, the Tailwind palette or the 148 CSS color names. RAL values on screens are only a guide, so check a real color chart before you order paint.

The named colors that look closest to this one (Ξ”E in OKLab). Browse all shades of brown or search the color library.