#F0EFEF

A color in the Black, Gray, White family

#f0efef is a color in the Black, Gray, White family: RGB(240, 239, 239), HSL(0°, 3%, 94%), CMYK(0%, 0%, 0%, 6%). Closest named color: whitesmoke. Contrast is 1.15:1 on white and 18.3:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f0efef
RGBrgb(240 239 239)
RGB (legacy)rgb(240, 239, 239)
RGB %rgb(94% 94% 94%)
HSLhsl(0 3% 94%)
HSV / HSBhsv(0, 0%, 94%)
HWBhwb(0 94% 6%)
CMYKcmyk(0%, 0%, 0%, 6%)
CIELAB (D50)lab(94.53 0.35 0.12)
LCHlch(94.53 0.37 19.73)
OKLaboklab(0.9529 0.001 0.0003)
OKLCHoklch(0.9529 0.0011 17.18)
Decimal15790063

Properties

Color ToneBlack, Gray, White
Closest named colorwhitesmoke ΔE 1.7
Closest web-safe color#ffffff
Hue0°
Saturation (HSL / HSV)3% / 0%
Lightness (HSL)94%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)94% / 94%
Relative luminance (WCAG)0.8649
Red / Green / Blue240 / 239 / 239

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.15:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
18.30: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 0 / -97.5 · As background with white / black text: Lc -8.1 / 96.7

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