#626A5B color
The hex color #626A5B is a gray.
In the RGB color model it is made of 38.4% red, 41.6% green and 35.7% blue (98, 106, 91).
Its hue angle is 92°, with 8% saturation and 39% lightness. For print, the CMYK equivalent is 8% cyan, 0% magenta, 14% yellow and 58% black.
The closest named color is Italian Basil (#5F6957), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.63:1).
#626A5B color codes
| HEX | #626A5B | |
|---|---|---|
| RGB | rgb(98, 106, 91) | |
| RGB percent | rgb(38.4%, 41.6%, 35.7%) | |
| HSL | hsl(92, 8%, 39%) | |
| HSV / HSB | hsv(92, 14%, 42%) | |
| CMYK | cmyk(8%, 0%, 14%, 58%) | |
| CIE LAB | lab(43.74, -6.12, 7.39) | |
| CIE LCH | lch(43.74, 9.6, 129.64) | |
| CIE XYZ | xyz(12.079, 13.66, 11.896) | |
| Decimal | 6449755 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #626A5B, 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 #626A5B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.73:1 | Fail | Fail | Pass |
| Sample text | 5.63:1 | Pass | Fail | Pass |
| #626A5B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.63:1 | Pass | Fail | Pass |
| Sample text | 3.73: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 #626A5B looks to people with the most common types of color vision deficiency.
#6c685aProtanopia
no red cones#6a675cDeuteranopia
no green cones#636966Tritanopia
no blue cones#676767Achromatopsia
no color vision
CSS examples
.background { background-color: #626a5b; }
.text { color: #626a5b; }
.border { border: 2px solid #626a5b; }
.transparent { background-color: rgb(98 106 91 / 50%); }
.gradient { background: linear-gradient(to right, #626a5b, #5b6a5c); }
Similar colors
#5f6957Italian Basil#5e6354Black Forest#616c51Hinterland#555d50Ebony#6d6c5fKnit Cardigan#5f674bMonstera#556962Dark Forest#6a6b65Armoury
Questions
- What color is #626A5B?
- #626A5B is a gray, closest to the named color Italian Basil. It belongs to the gray family of colors.
- What is the RGB value of #626A5B?
- The RGB value is 98, 106, 91: 98 red, 106 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #626A5B?
- The complementary color is #635B6A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #626A5B?
- White text. Black text has a contrast ratio of 3.73:1 and white text 5.63:1. WCAG asks for at least 4.5:1 for normal text.