Color #315a19
A moderately saturated dark green.
Conversions
#315a19
rgb(49, 90, 25)
hsl(97.8, 56.5%, 22.5%)
hsv(97.8, 72.2%, 35.3%)
cmyk(45.6%, 0%, 72.2%, 64.7%)
lab(34.06, -27.19, 31.82)
lch(34.06, 41.85, 130.51)
oklch(42.2%, 0.1049, 136.04)
hwb(97.8, 9.8%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (8.05:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#464732 · ΔE 15
Deuteranopia
#444136 · ΔE 19.7
Tritanopia
#343f42 · ΔE 24.7
Achromatopsia
#505050 · ΔE 22.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #315a19;
bg-[#315a19]
Related colors
Frequently asked questions
#315a19 (#315a19) is rgb(49, 90, 25) in RGB.
No, #315a19 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 #315a19, or check how it holds up for accessibility.