#9DA798 color
The hex color #9DA798 is a gray.
In the RGB color model it is made of 61.6% red, 65.5% green and 59.6% blue (157, 167, 152).
Its hue angle is 100°, with 8% saturation and 63% lightness. For print, the CMYK equivalent is 6% cyan, 0% magenta, 9% yellow and 35% black.
The closest named color is Moorland (#A6AB9B), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.41:1).
#9DA798 color codes
| HEX | #9DA798 | |
|---|---|---|
| RGB | rgb(157, 167, 152) | |
| RGB percent | rgb(61.6%, 65.5%, 59.6%) | |
| HSL | hsl(100, 8%, 63%) | |
| HSV / HSB | hsv(100, 9%, 65%) | |
| CMYK | cmyk(6%, 0%, 9%, 35%) | |
| CIE LAB | lab(67.33, -6.39, 6.55) | |
| CIE LCH | lch(67.33, 9.14, 134.3) | |
| CIE XYZ | xyz(33.39, 37.072, 35.096) | |
| Decimal | 10332056 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9DA798, 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 #9DA798 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.41:1 | Pass | Pass | Pass |
| Sample text | 2.5:1 | Fail | Fail | Fail |
| #9DA798 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.5:1 | Fail | Fail | Fail |
| Sample text | 8.41:1 | Pass | Pass | 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 #9DA798 looks to people with the most common types of color vision deficiency.
#a8a497Protanopia
no red cones#a7a499Deuteranopia
no green cones#9da6a3Tritanopia
no blue cones#a4a4a4Achromatopsia
no color vision
CSS examples
.background { background-color: #9da798; }
.text { color: #9da798; }
.border { border: 2px solid #9da798; }
.transparent { background-color: rgb(157 167 152 / 50%); }
.gradient { background: linear-gradient(to right, #9da798, #98a79b); }
Similar colors
#a6ab9bMoorland#a9b4a9Alpine Air#abb39eGargoyle#9ca389Edamame#969e86Herbalist#aaaa99Humble Hippo#a8b59eSalvia#9ead92Rooftop Garden
Closest common color name: Ash Gray.
Questions
- What color is #9DA798?
- #9DA798 is a gray, closest to the named color Moorland. It belongs to the gray family of colors.
- What is the RGB value of #9DA798?
- The RGB value is 157, 167, 152: 157 red, 167 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #9DA798?
- The complementary color is #A298A7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9DA798?
- Black text. Black text has a contrast ratio of 8.41:1 and white text 2.5:1. WCAG asks for at least 4.5:1 for normal text.