Color #ab9a22
A moderately saturated medium yellow.
Conversions
#ab9a22
rgb(171, 154, 34)
hsl(52.6, 66.8%, 40.2%)
hsv(52.6, 80.1%, 67.1%)
cmyk(0%, 9.9%, 80.1%, 32.9%)
lab(63.25, -6.38, 59.86)
lch(63.25, 60.2, 96.08)
oklch(68.1%, 0.1321, 100.69)
hwb(52.6, 13.3%, 32.9%)
Harmony colors
Accessibility
Black text reads better on this background (7.38:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a4a455 · ΔE 8
Deuteranopia
#a5a65c · ΔE 9
Tritanopia
#aa6c70 · ΔE 39
Achromatopsia
#999999 · ΔE 25.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ab9a22;
bg-[#ab9a22]
Related colors
Frequently asked questions
#ab9a22 (#ab9a22) is rgb(171, 154, 34) in RGB.
No, #ab9a22 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 #ab9a22, or check how it holds up for accessibility.