Skip to content

#E5E4E2 Color

#E5E4E2 is rgb(229, 228, 226) in RGB, hsl(40, 5%, 89%) in HSL, and about cmyk(0%, 0%, 1%, 10%) in CMYK. The closest CSS named color is Gainsboro (#DCDCDC). Black text is the more readable choice on this background.

#E5E4E2
HEX#E5E4E2
RGBrgb(229, 228, 226)
HSLhsl(40, 5%, 89%)
HSVhsv(40, 1%, 90%)
CMYKcmyk(0%, 0%, 1%, 10%)
OKLCHoklch(91.9% 0.003 84.6)
LABlab(90.63% 0.08 1.10)
LCHlch(90.63% 1.11 85.61)

#E5E4E2 Channel Values

How #E5E4E2 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 229 · G 228 · B 2268-bit channels as sent to the display
HSLH 40° · S 5% · L 89%Easiest model for building lighter and darker variants
HSVH 40° · S 1% · V 90%Matches the picker in most design tools
CMYKC 0% · M 0% · Y 1% · K 10%Approximate ink mix; confirm with an ICC profile before printing
Luminance1.27:1 vs white · 16.53:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #E5E4E2 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text1.27:1AA normal AA large AAA normal
TextBlack text16.53:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #E5E4E2 in the contrast checker.

Colors That Go With #E5E4E2

Pairings derived from color-wheel relationships. The complementary color sits opposite #E5E4E2; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #E5E4E2

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #E5E4E2.

How #E5E4E2 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#E5E4E2
Protanopia#E4E4E2
Protanomaly#E5E4E2
Deuteranopia#E4E4E2
Deuteranomaly#E5E4E2
Tritanopia#E5E4E4
Tritanomaly#E5E4E3
Achromatopsia#E4E4E4

Test a full palette in the color blindness simulator.

Using #E5E4E2 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-e5e4e2: #E5E4E2;
CSS backgroundbackground-color: #E5E4E2;
Tailwind configcolors: { 'color-e5e4e2': '#E5E4E2' }
SwiftUIColor(red: 0.898, green: 0.894, blue: 0.886)
Android XML<color name="color_e5e4e2">#E5E4E2</color>
SVG fillfill="#E5E4E2"

#E5E4E2 Frequently Asked Questions

What is the RGB value of #E5E4E2?

#E5E4E2 is rgb(229, 228, 226) — red 229, green 228, and blue 226 on the 0-255 scale.

What is the CMYK value of #E5E4E2?

#E5E4E2 converts to approximately cmyk(0%, 0%, 1%, 10%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #E5E4E2 be black or white?

Black text is the more readable choice. #E5E4E2 scores 1.27:1 against white and 16.53:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Does #E5E4E2 have a color name?

#E5E4E2 is not one of the 140 CSS named colors. The closest named color is Gainsboro (#DCDCDC), at a CIE76 distance of 3.1, so the two are very hard to tell apart.

Open #E5E4E2 in a Tool

#E5E4E2 sits in the gray family — browse every shade of gray with hex codes, or return to the full color library.