#FEF4CF#FEF4CF

#FEF4CF is a very light, muted yellow. Relative luminance 0.903; OKLCH L 96.6% C 0.049 H 94.6°. Best body text is #000000 at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#FEF4CF
RGBrgb(254, 244, 207)
HSLhsl(47, 96%, 90%)
HSVhsv(47, 19%, 100%)
CMYKcmyk(0%, 3.9%, 18.5%, 0.4%)
CIE-LABlab(96.11, -2.49, 19.06)
CIE-LCHlch(96.11, 19.22, 97.45°)
OKLaboklab(96.56% -0.004 0.049)
OKLCHoklch(96.56% 0.049 94.6)
XYZxyz(84.4857, 90.2785, 71.9942)
Luminance0.9028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF4CF #CFD9FE
analogous
#FEDCCF #FEF4CF #F0FECF
triadic
#FEF4CF #CFFEF4 #F4CFFE
tetradic
#FEF4CF #CFFEDC #CFD9FE #FECFF0
square
#FEF4CF #CFFEDC #CFD9FE #FECFF0
split-complementary
#FEF4CF #CFF0FE #DCCFFE
monochromatic
#FCD957 #FDE693 #FEF4CF #FEF8E1 #FEF8E1

Accessibility & contrast

On white

1.10
#FEF4CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.06
#FEF4CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF4CF
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF4CF#FFFFFF#000000##000000
##FEF4CF1.001.1019.0619.06
#FFFFFF1.101.0021.0021.00
#00000019.0621.001.001.00
##00000019.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF2CD
Deuteranopia (green-blind)
#FFF5D0
Tritanopia (blue-blind)
#FFEEEA
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef4cf;
/* rgb */ color: rgb(254, 244, 207);
/* oklch */ color: oklch(96.6% 0.049 94.6);
Tailwind
colors: {
  custom: {
    50: '#fff7dd',
    500: '#fef4cf',
    950: '#000000',
  },
}
SCSS
$custom: #fef4cf;
$custom-light: #fff7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#fef4cf",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 207
  },
  "hsl": {
    "h": 47.234,
    "s": 95.918,
    "l": 90.392
  },
  "oklch": {
    "l": 0.96563,
    "c": 0.0492,
    "h": 94.6
  },
  "luminance": 0.90277
}

Semantic roles & 50–950 ramp

primary
#FEF4CF
secondary
#899DE8
accent
#31E600
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#181715
muted
#868584

Preview Lab

Preview with #FEF4CF

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

Preview Lab → · Contrast checker → · Palette generator →

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