Color #9d8726
A moderately saturated dark yellow.
Conversions
#9d8726
rgb(157, 135, 38)
hsl(48.9, 61%, 38.2%)
hsv(48.9, 75.8%, 61.6%)
cmyk(0%, 14%, 75.8%, 38.4%)
lab(56.72, -2.23, 51.98)
lch(56.72, 52.03, 92.46)
oklch(62.6%, 0.115, 95.79)
hwb(48.9, 14.9%, 38.4%)
Harmony colors
Accessibility
Black text reads better on this background (5.93:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#94944d · ΔE 8.8
Deuteranopia
#959753 · ΔE 9.9
Tritanopia
#9c6063 · ΔE 34.9
Achromatopsia
#888888 · ΔE 24
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9d8726;
bg-[#9d8726]
Related colors
Frequently asked questions
#9d8726 (#9d8726) is rgb(157, 135, 38) in RGB.
No, #9d8726 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 #9d8726, or check how it holds up for accessibility.