Color #798a26
A moderately saturated dark green.
Conversions
#798a26
rgb(121, 138, 38)
hsl(70.2, 56.8%, 34.5%)
hsv(70.2, 72.5%, 54.1%)
cmyk(12.3%, 0%, 72.5%, 45.9%)
lab(54.43, -20.09, 48.68)
lch(54.43, 52.66, 112.43)
oklch(60%, 0.124, 118.74)
hwb(70.2, 14.9%, 45.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.48:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#81814e · ΔE 8.9
Deuteranopia
#807e55 · ΔE 11.5
Tritanopia
#7a6265 · ΔE 35.3
Achromatopsia
#828282 · ΔE 24.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #798a26;
bg-[#798a26]
Related colors
Frequently asked questions
#798a26 (#798a26) is rgb(121, 138, 38) in RGB.
No, #798a26 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 #798a26, or check how it holds up for accessibility.