Color #28271b
A muted very dark yellow.
Conversions
#28271b
rgb(40, 39, 27)
hsl(55.4, 19.4%, 13.1%)
hsv(55.4, 32.5%, 15.7%)
cmyk(0%, 2.5%, 32.5%, 84.3%)
lab(15.39, -2.06, 8.12)
lch(15.39, 8.38, 104.24)
oklch(27%, 0.0211, 103.71)
hwb(55.4, 10.6%, 84.3%)
Harmony colors
Accessibility
White text reads better on this background (15.04:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#28281e · ΔE 1.2
Deuteranopia
#28281f · ΔE 1.7
Tritanopia
#282121 · ΔE 9.9
Achromatopsia
#262626 · ΔE 7.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #28271b;
bg-[#28271b]
Related colors
Frequently asked questions
#28271b (#28271b) is rgb(40, 39, 27) in RGB.
No, #28271b 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 #28271b, or check how it holds up for accessibility.