#ECEFEC

A color in the Black, Gray, White family

#ecefec is a color in the Black, Gray, White family: RGB(236, 239, 236), HSL(120°, 9%, 93%), CMYK(1%, 0%, 1%, 6%). Closest named color: linen. Contrast is 1.16:1 on white and 18.12:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ecefec
RGBrgb(236 239 236)
RGB (legacy)rgb(236, 239, 236)
RGB %rgb(93% 94% 93%)
HSLhsl(120 9% 93%)
HSV / HSBhsv(120, 1%, 94%)
HWBhwb(120 93% 6%)
CMYKcmyk(1%, 0%, 1%, 6%)
CIELAB (D50)lab(94.15 -1.43 1.09)
LCHlch(94.15 1.8 142.87)
OKLaboklab(0.949 -0.0042 0.0029)
OKLCHoklch(0.949 0.0051 145.54)
Decimal15527916

Properties

Color ToneBlack, Gray, White
Closest named colorlinen ΔE 2
Closest web-safe color#ffffff
Hue120°
Saturation (HSL / HSV)9% / 1%
Lightness (HSL)93%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)93% / 93%
Relative luminance (WCAG)0.8562
Red / Green / Blue236 / 239 / 236

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.16:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
18.12: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 7.5 / -96.9 · As background with white / black text: Lc -8.8 / 96

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: #ecefec;
  --color-brand-oklch: oklch(94.9% 0.0051 145.54);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(236 239 236 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ecefec] text-[#ecefec] border-[#ecefec]">