#E4E2CD

A color in the Yellow, Gold family

#e4e2cd is a color in the Yellow, Gold family: RGB(228, 226, 205), HSL(55°, 30%, 85%), CMYK(0%, 1%, 10%, 11%). Closest named color: gainsboro. Contrast is 1.31:1 on white and 16.06:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#e4e2cd
RGBrgb(228 226 205)
RGB (legacy)rgb(228, 226, 205)
RGB %rgb(89% 89% 80%)
HSLhsl(55 30% 85%)
HSV / HSBhsv(55, 10%, 89%)
HWBhwb(55 80% 11%)
CMYKcmyk(0%, 1%, 10%, 11%)
CIELAB (D50)lab(89.62 -1.95 10.56)
LCHlch(89.62 10.74 100.45)
OKLaboklab(0.9087 -0.0061 0.0274)
OKLCHoklch(0.9087 0.0281 102.5)
Decimal15000269

Properties

Color ToneYellow, Gold
Closest named colorgainsboro ΔE 3.1
Closest web-safe color#cccccc
Hue55°
Saturation (HSL / HSV)30% / 10%
Lightness (HSL)85%
Brightness or Value (HSV)89%
Luminance (Rec.601 / Rec.709)88% / 88%
Relative luminance (WCAG)0.7529
Red / Green / Blue228 / 226 / 205

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.31:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.06:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 15.2 / -88.5 · As background with white / black text: Lc -17.5 / 88.4

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #e4e2cd;
  --color-brand-oklch: oklch(90.87% 0.0281 102.5);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(228 226 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e4e2cd] text-[#e4e2cd] border-[#e4e2cd]">