#FEF2EA

A color in the Orange, Brown family

#fef2ea is a color in the Orange, Brown family: RGB(254, 242, 234), HSL(24°, 91%, 96%), CMYK(0%, 5%, 8%, 0%). Closest named color: seashell. Contrast is 1.1:1 on white and 19.1:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#fef2ea
RGBrgb(254 242 234)
RGB (legacy)rgb(254, 242, 234)
RGB %rgb(100% 95% 92%)
HSLhsl(24 91% 96%)
HSV / HSBhsv(24, 8%, 100%)
HWBhwb(24 92% 0%)
CMYKcmyk(0%, 5%, 8%, 0%)
CIELAB (D50)lab(96.28 3.18 5.39)
LCHlch(96.28 6.26 59.46)
OKLaboklab(0.9684 0.0094 0.014)
OKLCHoklch(0.9684 0.0168 56.19)
Decimal16708330

Properties

Color ToneOrange, Brown
Closest named colorseashell ΔE 0.8
Closest web-safe color#ffffff
Hue24°
Saturation (HSL / HSV)91% / 8%
Lightness (HSL)96%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)96% / 96%
Relative luminance (WCAG)0.9052
Red / Green / Blue254 / 242 / 234

WCAG 2.2 Contrast Ratio

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

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: #fef2ea;
  --color-brand-oklch: oklch(96.84% 0.0168 56.19);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(254 242 234 / 50%); }
/* Tailwind CSS */
<div class="bg-[#fef2ea] text-[#fef2ea] border-[#fef2ea]">