Color #8aa040
A moderately saturated medium green.
Conversions
#8aa040
rgb(138, 160, 64)
hsl(73.8, 42.9%, 43.9%)
hsv(73.8, 60%, 62.7%)
cmyk(13.8%, 0%, 60%, 37.3%)
lab(62.44, -22.15, 46.36)
lch(62.44, 51.38, 115.54)
oklch(66.9%, 0.1247, 120.76)
hwb(73.8, 25.1%, 37.3%)
Harmony colors
Accessibility
Black text reads better on this background (7.18:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#949463 · ΔE 9.7
Deuteranopia
#939169 · ΔE 12
Tritanopia
#8b767a · ΔE 35.1
Achromatopsia
#979797 · ΔE 24.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8aa040;
bg-[#8aa040]
Related colors
Frequently asked questions
#8aa040 (#8aa040) is rgb(138, 160, 64) in RGB.
No, #8aa040 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #8aa040, or check how it holds up for accessibility.