#FEF4D2#FEF4D2

#FEF4D2 is a very light, muted yellow. Relative luminance 0.904; OKLCH L 96.6% C 0.045 H 93.5°. Best body text is #000000 at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#FEF4D2
RGBrgb(254, 244, 210)
HSLhsl(46, 96%, 91%)
HSVhsv(46, 17%, 100%)
CMYKcmyk(0%, 3.9%, 17.3%, 0.4%)
CIE-LABlab(96.17, -2.06, 17.61)
CIE-LCHlch(96.17, 17.73, 96.66°)
OKLaboklab(96.63% -0.0028 0.0454)
OKLCHoklch(96.63% 0.046 93.5)
XYZxyz(84.8560, 90.4266, 73.9442)
Luminance0.9042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF4D2 #D2DCFE
analogous
#FEDED2 #FEF4D2 #F2FED2
triadic
#FEF4D2 #D2FEF4 #F4D2FE
tetradic
#FEF4D2 #D2FEDE #D2DCFE #FED2F2
square
#FEF4D2 #D2FEDE #D2DCFE #FED2F2
split-complementary
#FEF4D2 #D2F2FE #DED2FE
monochromatic
#FBD75A #FDE596 #FEF4D2 #FEF8E1 #FEF8E1

Accessibility & contrast

On white

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

On black

19.09
#FEF4D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF4D2
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF4D2#FFFFFF#000000##000000
##FEF4D21.001.1019.0919.09
#FFFFFF1.101.0021.0021.00
#00000019.0921.001.001.00
##00000019.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF2D0
Deuteranopia (green-blind)
#FFF5D3
Tritanopia (blue-blind)
#FFEFEA
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef4d2;
/* rgb */ color: rgb(254, 244, 210);
/* oklch */ color: oklch(96.6% 0.045 93.5);
Tailwind
colors: {
  custom: {
    50: '#fff7df',
    500: '#fef4d2',
    950: '#000000',
  },
}
SCSS
$custom: #fef4d2;
$custom-light: #fff7df;
$custom-dark: #000000;
JSON
{
  "hex": "#fef4d2",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 210
  },
  "hsl": {
    "h": 46.364,
    "s": 95.652,
    "l": 90.98
  },
  "oklch": {
    "l": 0.96632,
    "c": 0.0455,
    "h": 93.5
  },
  "luminance": 0.90425
}

Semantic roles & 50–950 ramp

primary
#FEF4D2
secondary
#8CA1E8
accent
#34E600
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#181715
muted
#868584

Preview Lab

Preview with #FEF4D2

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

Preview Lab → · Contrast checker → · Palette generator →

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