Color #a6b545
A moderately saturated medium yellow.
Conversions
#a6b545
rgb(166, 181, 69)
hsl(68, 44.8%, 49%)
hsv(68, 61.9%, 71%)
cmyk(8.3%, 0%, 61.9%, 29%)
lab(70.58, -20.64, 53.66)
lch(70.58, 57.49, 111.04)
oklch(73.9%, 0.137, 116.3)
hwb(68, 27.1%, 29%)
Harmony colors
Accessibility
Black text reads better on this background (9.32:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#adad6e · ΔE 8.1
Deuteranopia
#acab76 · ΔE 10.1
Tritanopia
#a78589 · ΔE 38.2
Achromatopsia
#adadad · ΔE 25.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a6b545;
bg-[#a6b545]
Related colors
Frequently asked questions
#a6b545 (#a6b545) is rgb(166, 181, 69) in RGB.
No, #a6b545 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 #a6b545, or check how it holds up for accessibility.