Color #04310f
A vivid, highly saturated very dark green.
Conversions
#04310f
rgb(4, 49, 15)
hsl(134.7, 84.9%, 10.4%)
hsv(134.7, 91.8%, 19.2%)
cmyk(91.8%, 0%, 69.4%, 80.8%)
lab(16.78, -23.77, 17.17)
lch(16.78, 29.32, 144.16)
oklch(27.5%, 0.0759, 147.31)
hwb(134.7, 1.6%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (14.47:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1f201b · ΔE 18
Deuteranopia
#1d1a1d · ΔE 26.5
Tritanopia
#092223 · ΔE 16.6
Achromatopsia
#292929 · ΔE 20.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #04310f;
bg-[#04310f]
Related colors
Frequently asked questions
#04310f (#04310f) is rgb(4, 49, 15) in RGB.
No, #04310f 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 #04310f, or check how it holds up for accessibility.