Color #4a5a12
A moderately saturated dark green.
Conversions
#4a5a12
rgb(74, 90, 18)
hsl(73.3, 66.7%, 21.2%)
hsv(73.3, 80%, 35.3%)
cmyk(17.8%, 0%, 80%, 64.7%)
lab(35.62, -17.09, 36.89)
lch(35.62, 40.66, 114.86)
oklch(43.9%, 0.0959, 121.62)
hwb(73.3, 7.1%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (7.6:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#515230 · ΔE 8.9
Deuteranopia
#504f34 · ΔE 11.2
Tritanopia
#4b3e40 · ΔE 29.5
Achromatopsia
#545454 · ΔE 21.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4a5a12;
bg-[#4a5a12]
Related colors
Frequently asked questions
#4a5a12 (#4a5a12) is rgb(74, 90, 18) in RGB.
No, #4a5a12 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 #4a5a12, or check how it holds up for accessibility.