#7F5228 color
The hex color #7F5228 is a dark, moderate orange.
In the RGB color model it is made of 49.8% red, 32.2% green and 15.7% blue (127, 82, 40).
Its hue angle is 29°, with 52% saturation and 33% lightness. For print, the CMYK equivalent is 0% cyan, 35% magenta, 69% yellow and 50% black.
The closest named color is Milk Chocolate (#7F4E1E), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.69:1).
#7F5228 color codes
| HEX | #7F5228 | |
|---|---|---|
| RGB | rgb(127, 82, 40) | |
| RGB percent | rgb(49.8%, 32.2%, 15.7%) | |
| HSL | hsl(29, 52%, 33%) | |
| HSV / HSB | hsv(29, 69%, 50%) | |
| CMYK | cmyk(0%, 35%, 69%, 50%) | |
| CIE LAB | lab(39.07, 14.52, 31.77) | |
| CIE LCH | lch(39.07, 34.93, 65.44) | |
| CIE XYZ | xyz(12.154, 10.701, 3.432) | |
| Decimal | 8344104 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F5228, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #7F5228 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.14:1 | Fail | Fail | Pass |
| Sample text | 6.69:1 | Pass | Fail | Pass |
| #7F5228 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.69:1 | Pass | Fail | Pass |
| Sample text | 3.14:1 | Fail | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #7F5228 looks to people with the most common types of color vision deficiency.
#605624Protanopia
no red cones#6b6028Deuteranopia
no green cones#8b4849Tritanopia
no blue cones#5c5c5cAchromatopsia
no color vision
CSS examples
.background { background-color: #7f5228; }
.text { color: #7f5228; }
.border { border: 2px solid #7f5228; }
.transparent { background-color: rgb(127 82 40 / 50%); }
.gradient { background: linear-gradient(to right, #7f5228, #7f7d28); }
Similar colors
#7f4e1eMilk Chocolate#885522Precious Copper#775130Chocolate Bells#714f29Chocolate Rain#785736Cold Brew Coffee#815b28Hot Curry#80461bRusset#6c461fAntique Brass
Questions
- What color is #7F5228?
- #7F5228 is a dark, moderate orange, closest to the named color Milk Chocolate. It belongs to the brown family of colors.
- What is the RGB value of #7F5228?
- The RGB value is 127, 82, 40: 127 red, 82 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #7F5228?
- The complementary color is #28557F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F5228?
- White text. Black text has a contrast ratio of 3.14:1 and white text 6.69:1. WCAG asks for at least 4.5:1 for normal text.