#FFF8E4#FFF8E4

#FFF8E4 is a very light, muted orange. Relative luminance 0.940; OKLCH L 97.9% C 0.027 H 90.9°. Best body text is #000000 at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#FFF8E4
RGBrgb(255, 248, 228)
HSLhsl(44, 100%, 95%)
HSVhsv(44, 11%, 100%)
CMYKcmyk(0%, 2.7%, 10.6%, 0%)
CIE-LABlab(97.63, -0.97, 10.44)
CIE-LCHlch(97.63, 10.48, 95.33°)
OKLaboklab(97.93% -0.0004 0.0273)
OKLCHoklch(97.93% 0.027 90.9)
XYZxyz(88.8095, 93.9971, 86.8485)
Luminance0.9400 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF8E4 #E4EBFF
analogous
#FFEBE4 #FFF8E4 #F9FFE4
triadic
#FFF8E4 #E4FFF8 #F8E4FF
tetradic
#FFF8E4 #E4FFEB #E4EBFF #FFE4F9
square
#FFF8E4 #E4FFEB #E4EBFF #FFE4F9
split-complementary
#FFF8E4 #E4F9FF #EBE4FF
monochromatic
#FFD86A #FFE8A7 #FFF7E0 #FFF7E0 #FFF7E0

Accessibility & contrast

On white

1.06
#FFF8E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.80
#FFF8E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF8E4
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF8E4#FFFFFF#000000##000000
##FFF8E41.001.0619.8019.80
#FFFFFF1.061.0021.0021.00
#00000019.8021.001.001.00
##00000019.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF7E3
Deuteranopia (green-blind)
#FFF9E5
Tritanopia (blue-blind)
#FFF5F2
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fff8e4;
/* rgb */ color: rgb(255, 248, 228);
/* oklch */ color: oklch(97.9% 0.027 90.9);
Tailwind
colors: {
  custom: {
    50: '#fffaec',
    500: '#fff8e4',
    950: '#000000',
  },
}
SCSS
$custom: #fff8e4;
$custom-light: #fffaec;
$custom-dark: #000000;
JSON
{
  "hex": "#fff8e4",
  "rgb": {
    "r": 255,
    "g": 248,
    "b": 228
  },
  "hsl": {
    "h": 44.444,
    "s": 100,
    "l": 94.706
  },
  "oklch": {
    "l": 0.97926,
    "c": 0.02725,
    "h": 90.9
  },
  "luminance": 0.93996
}

Semantic roles & 50–950 ramp

primary
#FFF8E4
secondary
#9AB0ED
accent
#3CE600
background
#FFFFFE
surface
#FFFFFD
border
#D7D7D5
text
#181716
muted
#868584

Preview Lab

Preview with #FFF8E4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#FFF8E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva