#5F6254 color
The hex color #5F6254 is a gray.
In the RGB color model it is made of 37.3% red, 38.4% green and 32.9% blue (95, 98, 84).
Its hue angle is 73°, with 8% saturation and 36% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 14% yellow and 62% black.
The closest named color is Black Forest (#5E6354), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.25:1).
#5F6254 color codes
| HEX | #5F6254 | |
|---|---|---|
| RGB | rgb(95, 98, 84) | |
| RGB percent | rgb(37.3%, 38.4%, 32.9%) | |
| HSL | hsl(73, 8%, 36%) | |
| HSV / HSB | hsv(73, 14%, 38%) | |
| CMYK | cmyk(3%, 0%, 14%, 62%) | |
| CIE LAB | lab(40.91, -3.97, 7.58) | |
| CIE LCH | lch(40.91, 8.56, 117.66) | |
| CIE XYZ | xyz(10.687, 11.808, 10.102) | |
| Decimal | 6251092 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F6254, 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 #5F6254 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.36:1 | Fail | Fail | Pass |
| Sample text | 6.25:1 | Pass | Fail | Pass |
| #5F6254 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.25:1 | Pass | Fail | Pass |
| Sample text | 3.36: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 #5F6254 looks to people with the most common types of color vision deficiency.
#646053Protanopia
no red cones#646155Deuteranopia
no green cones#61605eTritanopia
no blue cones#606060Achromatopsia
no color vision
CSS examples
.background { background-color: #5f6254; }
.text { color: #5f6254; }
.border { border: 2px solid #5f6254; }
.transparent { background-color: rgb(95 98 84 / 50%); }
.gradient { background: linear-gradient(to right, #5f6254, #586254); }
Similar colors
#5e6354Black Forest#555d50Ebony#5f6957Italian Basil#595d45Tree of Life#6d6c5fKnit Cardigan#67614fIvy Topiary#6e6a5eArchaeology#6c685eCatch of the Day
Questions
- What color is #5F6254?
- #5F6254 is a gray, closest to the named color Black Forest. It belongs to the gray family of colors.
- What is the RGB value of #5F6254?
- The RGB value is 95, 98, 84: 95 red, 98 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #5F6254?
- The complementary color is #575462, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F6254?
- White text. Black text has a contrast ratio of 3.36:1 and white text 6.25:1. WCAG asks for at least 4.5:1 for normal text.