#5F6062 color
The hex color #5F6062 is a gray.
In the RGB color model it is made of 37.3% red, 37.6% green and 38.4% blue (95, 96, 98).
Its hue angle is 220°, with 2% saturation and 38% lightness. For print, the CMYK equivalent is 3% cyan, 2% magenta, 0% yellow and 62% black.
The closest named color is Iron (#5E5E5E), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.29:1).
#5F6062 color codes
| HEX | #5F6062 | |
|---|---|---|
| RGB | rgb(95, 96, 98) | |
| RGB percent | rgb(37.3%, 37.6%, 38.4%) | |
| HSL | hsl(220, 2%, 38%) | |
| HSV / HSB | hsv(220, 3%, 38%) | |
| CMYK | cmyk(3%, 2%, 0%, 62%) | |
| CIE LAB | lab(40.7, 0.03, -1.28) | |
| CIE LCH | lch(40.7, 1.28, 271.47) | |
| CIE XYZ | xyz(11.106, 11.68, 13.222) | |
| Decimal | 6250594 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F6062, 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 #5F6062 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.34:1 | Fail | Fail | Pass |
| Sample text | 6.29:1 | Pass | Fail | Pass |
| #5F6062 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.29:1 | Pass | Fail | Pass |
| Sample text | 3.34: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 #5F6062 looks to people with the most common types of color vision deficiency.
#5f6062Protanopia
no red cones#5f6062Deuteranopia
no green cones#5e6061Tritanopia
no blue cones#606060Achromatopsia
no color vision
CSS examples
.background { background-color: #5f6062; }
.text { color: #5f6062; }
.border { border: 2px solid #5f6062; }
.transparent { background-color: rgb(95 96 98 / 50%); }
.gradient { background: linear-gradient(to right, #5f6062, #605f62); }
Similar colors
#5e5e5eIron#5c5d5dKnight’s Armour#5a5e61Blindfolded#605e63Cloak Gray#616669Gray Web#696969Dim Gray#555555Stone Cold#566062Yacht Club
Questions
- What color is #5F6062?
- #5F6062 is a gray, closest to the named color Iron. It belongs to the gray family of colors.
- What is the RGB value of #5F6062?
- The RGB value is 95, 96, 98: 95 red, 96 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of #5F6062?
- The complementary color is #62615F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F6062?
- White text. Black text has a contrast ratio of 3.34:1 and white text 6.29:1. WCAG asks for at least 4.5:1 for normal text.