#FEFCF2#FEFCF2

#FEFCF2 is a very light, near-neutral yellow. Relative luminance 0.971; OKLCH L 99.0% C 0.013 H 97.4°. Best body text is #000000 at 20.42:1 contrast (WCAG AA passes).

Color values

HEX#FEFCF2
RGBrgb(254, 252, 242)
HSLhsl(50, 86%, 97%)
HSVhsv(50, 5%, 100%)
CMYKcmyk(0%, 0.8%, 4.7%, 0.4%)
CIE-LABlab(98.87, -1.05, 5.01)
CIE-LCHlch(98.87, 5.12, 101.81°)
OKLaboklab(98.99% -0.0017 0.0132)
OKLCHoklch(98.99% 0.013 97.4)
XYZxyz(91.7082, 97.1028, 97.8986)
Luminance0.9710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFCF2 #F2F4FE
analogous
#FEF6F2 #FEFCF2 #FAFEF2
triadic
#FEFCF2 #F2FEFC #FCF2FE
tetradic
#FEFCF2 #F2FEF6 #F2F4FE #FEF2FA
square
#FEFCF2 #F2FEF6 #F2F4FE #FEF2FA
split-complementary
#FEFCF2 #F2FAFE #F6F2FE
monochromatic
#F5E280 #FAEFB9 #FDF8E3 #FDF8E3 #FDF8E3

Accessibility & contrast

On white

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

On black

20.42
#FEFCF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFCF2
20.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFCF2#FFFFFF#000000##000000
##FEFCF21.001.0320.4220.42
#FFFFFF1.031.0021.0021.00
#00000020.4221.001.001.00
##00000020.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fefcf2;
/* rgb */ color: rgb(254, 252, 242);
/* oklch */ color: oklch(99.0% 0.013 97.4);
Tailwind
colors: {
  custom: {
    50: '#fefdf6',
    500: '#fefcf2',
    950: '#000000',
  },
}
SCSS
$custom: #fefcf2;
$custom-light: #fefdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#fefcf2",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 242
  },
  "hsl": {
    "h": 50,
    "s": 85.714,
    "l": 97.255
  },
  "oklch": {
    "l": 0.98988,
    "c": 0.01331,
    "h": 97.4
  },
  "luminance": 0.97102
}

Semantic roles & 50–950 ramp

primary
#FEFCF2
secondary
#AAB5EA
accent
#28E203
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #FEFCF2

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

Preview Lab → · Contrast checker → · Palette generator →

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