Color #12271a
A muted very dark green.
Conversions
#12271a
rgb(18, 39, 26)
hsl(142.9, 36.8%, 11.2%)
hsv(142.9, 53.8%, 15.3%)
cmyk(53.8%, 0%, 33.3%, 84.7%)
lab(13.56, -12.23, 6.02)
lch(13.56, 13.63, 153.79)
oklch(25.1%, 0.0369, 155.52)
hwb(142.9, 7.1%, 84.7%)
Harmony colors
Accessibility
White text reads better on this background (15.78:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1d1d1e · ΔE 14.1
Deuteranopia
#1c1a1e · ΔE 17
Tritanopia
#142021 · ΔE 9.7
Achromatopsia
#232323 · ΔE 13.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #12271a;
bg-[#12271a]
Related colors
Frequently asked questions
#12271a (#12271a) is rgb(18, 39, 26) in RGB.
No, #12271a 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 #12271a, or check how it holds up for accessibility.