#FEF2CE#FEF2CE

#FEF2CE is a very light, muted yellow. Relative luminance 0.890; OKLCH L 96.1% C 0.049 H 91.7°. Best body text is #000000 at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#FEF2CE
RGBrgb(254, 242, 206)
HSLhsl(45, 96%, 90%)
HSVhsv(45, 19%, 100%)
CMYKcmyk(0%, 4.7%, 18.9%, 0.4%)
CIE-LABlab(95.59, -1.63, 18.85)
CIE-LCHlch(95.59, 18.92, 94.94°)
OKLaboklab(96.15% -0.0015 0.0485)
OKLCHoklch(96.15% 0.049 91.7)
XYZxyz(83.7654, 89.0328, 71.1529)
Luminance0.8903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF2CE #CEDAFE
analogous
#FEDACE #FEF2CE #F2FECE
triadic
#FEF2CE #CEFEF2 #F2CEFE
tetradic
#FEF2CE #CEFEDA #CEDAFE #FECEF2
square
#FEF2CE #CEFEDA #CEDAFE #FECEF2
split-complementary
#FEF2CE #CEF2FE #DACEFE
monochromatic
#FCD256 #FDE292 #FEF2CE #FEF7E1 #FEF7E1

Accessibility & contrast

On white

1.12
#FEF2CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.81
#FEF2CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF2CE
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF2CE#FFFFFF#000000##000000
##FEF2CE1.001.1218.8118.81
#FFFFFF1.121.0021.0021.00
#00000018.8121.001.001.00
##00000018.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAF0CC
Deuteranopia (green-blind)
#FEF4CF
Tritanopia (blue-blind)
#FFECE8
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef2ce;
/* rgb */ color: rgb(254, 242, 206);
/* oklch */ color: oklch(96.1% 0.049 91.7);
Tailwind
colors: {
  custom: {
    50: '#fff6dd',
    500: '#fef2ce',
    950: '#000000',
  },
}
SCSS
$custom: #fef2ce;
$custom-light: #fff6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#fef2ce",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 206
  },
  "hsl": {
    "h": 45,
    "s": 96,
    "l": 90.196
  },
  "oklch": {
    "l": 0.96148,
    "c": 0.04853,
    "h": 91.7
  },
  "luminance": 0.89031
}

Semantic roles & 50–950 ramp

primary
#FEF2CE
secondary
#88A0E8
accent
#39E600
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#181715
muted
#868584

Preview Lab

Preview with #FEF2CE

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

Preview Lab → · Contrast checker → · Palette generator →

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