Color #8a8c28
A moderately saturated dark yellow.
Conversions
#8a8c28
rgb(138, 140, 40)
hsl(61.2, 55.6%, 35.3%)
hsv(61.2, 71.4%, 54.9%)
cmyk(1.4%, 0%, 71.4%, 45.1%)
lab(56.4, -13.47, 50.3)
lch(56.4, 52.07, 104.99)
oklch(62%, 0.1195, 110.57)
hwb(61.2, 15.7%, 45.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.86:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8b8b50 · ΔE 6.7
Deuteranopia
#8b8b56 · ΔE 8
Tritanopia
#8a6367 · ΔE 36.9
Achromatopsia
#878787 · ΔE 24.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a8c28;
bg-[#8a8c28]
Related colors
Frequently asked questions
#8a8c28 (#8a8c28) is rgb(138, 140, 40) in RGB.
No, #8a8c28 is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #8a8c28, or check how it holds up for accessibility.