Color #9fa518
A vivid, highly saturated dark yellow.
Conversions
#9fa518
rgb(159, 165, 24)
hsl(62.6, 74.6%, 37.1%)
hsv(62.6, 85.5%, 64.7%)
cmyk(3.6%, 0%, 85.5%, 35.3%)
lab(65.24, -17.79, 63.86)
lch(65.24, 66.29, 105.57)
oklch(69.4%, 0.1483, 112.35)
hwb(62.6, 9.4%, 35.3%)
Harmony colors
Accessibility
Black text reads better on this background (7.87:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a2a258 · ΔE 7.8
Deuteranopia
#a1a161 · ΔE 9.7
Tritanopia
#9f7277 · ΔE 41.8
Achromatopsia
#9e9e9e · ΔE 26.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9fa518;
bg-[#9fa518]
Related colors
Frequently asked questions
#9fa518 (#9fa518) is rgb(159, 165, 24) in RGB.
No, #9fa518 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 #9fa518, or check how it holds up for accessibility.