#FEFCF1#FEFCF1

#FEFCF1 is a very light, near-neutral yellow. Relative luminance 0.970; OKLCH L 99.0% C 0.015 H 98.3°. Best body text is #000000 at 20.41:1 contrast (WCAG AA passes).

Color values

HEX#FEFCF1
RGBrgb(254, 252, 241)
HSLhsl(51, 87%, 97%)
HSVhsv(51, 5%, 100%)
CMYKcmyk(0%, 0.8%, 5.1%, 0.4%)
CIE-LABlab(98.85, -1.22, 5.49)
CIE-LCHlch(98.85, 5.63, 102.48°)
OKLaboklab(98.96% -0.0021 0.0145)
OKLCHoklch(98.96% 0.015 98.3)
XYZxyz(91.5584, 97.0429, 97.1098)
Luminance0.9704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFCF1 #F1F3FE
analogous
#FEF6F1 #FEFCF1 #FAFEF1
triadic
#FEFCF1 #F1FEFC #FCF1FE
tetradic
#FEFCF1 #F1FEF6 #F1F3FE #FEF1FA
square
#FEFCF1 #F1FEF6 #F1F3FE #FEF1FA
split-complementary
#FEFCF1 #F1FAFE #F6F1FE
monochromatic
#F6E47F #FAF0B8 #FDF9E2 #FDF9E2 #FDF9E2

Accessibility & contrast

On white

1.03
#FEFCF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.41
#FEFCF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFCF1
20.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFCF1#FFFFFF#000000##000000
##FEFCF11.001.0320.4120.41
#FFFFFF1.031.0021.0021.00
#00000020.4121.001.001.00
##00000020.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEFBF0
Deuteranopia (green-blind)
#FFFCF1
Tritanopia (blue-blind)
#FFFAF9
Achromatopsia (no color)
#FCFCFC

Design tokens & code

CSS
--color: #fefcf1;
/* rgb */ color: rgb(254, 252, 241);
/* oklch */ color: oklch(99.0% 0.015 98.3);
Tailwind
colors: {
  custom: {
    50: '#fefdf5',
    500: '#fefcf1',
    950: '#000000',
  },
}
SCSS
$custom: #fefcf1;
$custom-light: #fefdf5;
$custom-dark: #000000;
JSON
{
  "hex": "#fefcf1",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 241
  },
  "hsl": {
    "h": 50.769,
    "s": 86.667,
    "l": 97.059
  },
  "oklch": {
    "l": 0.98962,
    "c": 0.0146,
    "h": 98.3
  },
  "luminance": 0.97043
}

Semantic roles & 50–950 ramp

primary
#FEFCF1
secondary
#A9B3EA
accent
#25E302
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #FEFCF1

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

Preview Lab → · Contrast checker → · Palette generator →

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