Color #1b5227
A moderately saturated dark green.
Conversions
#1b5227
rgb(27, 82, 39)
hsl(133.1, 50.5%, 21.4%)
hsv(133.1, 67.1%, 32.2%)
cmyk(67.1%, 0%, 52.4%, 67.8%)
lab(30.43, -28.65, 19.95)
lch(30.43, 34.91, 145.15)
oklch(39.1%, 0.0914, 147.88)
hwb(133.1, 10.6%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (9.2:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3a3b35 · ΔE 19.7
Deuteranopia
#373338 · ΔE 27.6
Tritanopia
#203e40 · ΔE 19
Achromatopsia
#484848 · ΔE 22.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1b5227;
bg-[#1b5227]
Related colors
Frequently asked questions
#1b5227 (#1b5227) is rgb(27, 82, 39) in RGB.
No, #1b5227 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 #1b5227, or check how it holds up for accessibility.