#FFF8EC#FFF8EC

#FFF8EC is a very light, near-neutral orange. Relative luminance 0.945; OKLCH L 98.1% C 0.018 H 81.3°. Best body text is #000000 at 19.89:1 contrast (WCAG AA passes).

Color values

HEX#FFF8EC
RGBrgb(255, 248, 236)
HSLhsl(38, 100%, 96%)
HSVhsv(38, 7%, 100%)
CMYKcmyk(0%, 2.7%, 7.5%, 0%)
CIE-LABlab(97.81, 0.31, 6.58)
CIE-LCHlch(97.81, 6.59, 87.27°)
OKLaboklab(98.13% 0.0026 0.0173)
OKLCHoklch(98.13% 0.018 81.3)
XYZxyz(89.9459, 94.4516, 92.8332)
Luminance0.9445 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF8EC #ECF3FF
analogous
#FFEFEC #FFF8EC #FDFFEC
triadic
#FFF8EC #ECFFF8 #F8ECFF
tetradic
#FFF8EC #ECFFEF #ECF3FF #FFECFD
square
#FFF8EC #ECFFEF #ECF3FF #FFECFD
split-complementary
#FFF8EC #ECFDFF #EFECFF
monochromatic
#FFCB72 #FFE1AF #FFF4E0 #FFF4E0 #FFF4E0

Accessibility & contrast

On white

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

On black

19.89
#FFF8EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF8EC
19.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF8EC#FFFFFF#000000##000000
##FFF8EC1.001.0619.8919.89
#FFFFFF1.061.0021.0021.00
#00000019.8921.001.001.00
##00000019.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF8EB
Deuteranopia (green-blind)
#FDF9EC
Tritanopia (blue-blind)
#FFF6F4
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fff8ec;
/* rgb */ color: rgb(255, 248, 236);
/* oklch */ color: oklch(98.1% 0.018 81.3);
Tailwind
colors: {
  custom: {
    50: '#fffaf2',
    500: '#fff8ec',
    950: '#000000',
  },
}
SCSS
$custom: #fff8ec;
$custom-light: #fffaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#fff8ec",
  "rgb": {
    "r": 255,
    "g": 248,
    "b": 236
  },
  "hsl": {
    "h": 37.895,
    "s": 100,
    "l": 96.275
  },
  "oklch": {
    "l": 0.9813,
    "c": 0.01751,
    "h": 81.3
  },
  "luminance": 0.94451
}

Semantic roles & 50–950 ramp

primary
#FFF8EC
secondary
#A1BDEE
accent
#55E600
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#181716
muted
#868585

Preview Lab

Preview with #FFF8EC

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

Preview Lab → · Contrast checker → · Palette generator →

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