Color #a8a381
A muted medium yellow.
Conversions
#a8a381
rgb(168, 163, 129)
hsl(52.3, 18.3%, 58.2%)
hsv(52.3, 23.2%, 65.9%)
cmyk(0%, 3%, 23.2%, 34.1%)
lab(66.6, -3.88, 18.36)
lch(66.6, 18.77, 101.93)
oklch(71.1%, 0.0475, 100.55)
hwb(52.3, 50.6%, 34.1%)
Harmony colors
Accessibility
Black text reads better on this background (8.22:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a6a68a · ΔE 2.8
Deuteranopia
#a6a78c · ΔE 3.4
Tritanopia
#a89192 · ΔE 20.8
Achromatopsia
#a2a2a2 · ΔE 13.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a8a381;
bg-[#a8a381]
Related colors
Frequently asked questions
#a8a381 (#a8a381) is rgb(168, 163, 129) in RGB.
No, #a8a381 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 #a8a381, or check how it holds up for accessibility.