Color #9f7900
A vivid, highly saturated dark yellow.
Conversions
#9f7900
rgb(159, 121, 0)
hsl(45.7, 100%, 31.2%)
hsv(45.7, 100%, 62.4%)
cmyk(0%, 23.9%, 100%, 37.6%)
lab(53, 5.51, 58.9)
lch(53, 59.16, 84.66)
oklch(59.7%, 0.1221, 86.53)
hwb(45.7, 0%, 37.6%)
Harmony colors
Accessibility
Black text reads better on this background (5.21:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#90903d · ΔE 13.7
Deuteranopia
#929544 · ΔE 15.2
Tritanopia
#9d5155 · ΔE 35
Achromatopsia
#7f7f7f · ΔE 25.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9f7900;
bg-[#9f7900]
Related colors
Frequently asked questions
#9f7900 (#9f7900) is rgb(159, 121, 0) in RGB.
No, #9f7900 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 #9f7900, or check how it holds up for accessibility.