#FEF8EA

A color in the Orange, Brown family

#fef8ea is a color in the Orange, Brown family: RGB(254, 248, 234), HSL(42°, 91%, 96%), CMYK(0%, 2%, 8%, 0%). Closest named color: oldlace. Contrast is 1.06:1 on white and 19.83:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#fef8ea
RGBrgb(254 248 234)
RGB (legacy)rgb(254, 248, 234)
RGB %rgb(100% 97% 92%)
HSLhsl(42 91% 96%)
HSV / HSBhsv(42, 8%, 100%)
HWBhwb(42 92% 0%)
CMYKcmyk(0%, 2%, 8%, 0%)
CIELAB (D50)lab(97.77 0.32 7.5)
LCHlch(97.77 7.5 87.53)
OKLaboklab(0.98 0.0008 0.0195)
OKLCHoklch(0.98 0.0195 87.51)
Decimal16709866

Properties

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

WCAG 2.2 Contrast Ratio

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

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