Color #2a7214
A vivid, highly saturated dark green.
Conversions
#2a7214
rgb(42, 114, 20)
hsl(106, 70.1%, 26.3%)
hsv(106, 82.5%, 44.7%)
cmyk(63.2%, 0%, 82.5%, 55.3%)
lab(42.12, -39.95, 41.77)
lch(42.12, 57.8, 133.72)
oklch(48.8%, 0.1439, 139.74)
hwb(106, 7.8%, 55.3%)
Harmony colors
Accessibility
White text reads better on this background (5.97:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#53533d · ΔE 19.9
Deuteranopia
#4f4943 · ΔE 27.1
Tritanopia
#314e52 · ΔE 28.9
Achromatopsia
#636363 · ΔE 25.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a7214;
bg-[#2a7214]
Related colors
Frequently asked questions
#2a7214 (#2a7214) is rgb(42, 114, 20) in RGB.
No, #2a7214 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 #2a7214, or check how it holds up for accessibility.