#FEF4CD#FEF4CD

#FEF4CD is a very light, muted yellow. Relative luminance 0.902; OKLCH L 96.5% C 0.052 H 95.3°. Best body text is #000000 at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#FEF4CD
RGBrgb(254, 244, 205)
HSLhsl(48, 96%, 90%)
HSVhsv(48, 19%, 100%)
CMYKcmyk(0%, 3.9%, 19.3%, 0.4%)
CIE-LABlab(96.07, -2.78, 20.03)
CIE-LCHlch(96.07, 20.22, 97.91°)
OKLaboklab(96.52% -0.0047 0.0515)
OKLCHoklch(96.52% 0.052 95.3)
XYZxyz(84.2428, 90.1814, 70.7147)
Luminance0.9018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF4CD #CDD7FE
analogous
#FEDBCD #FEF4CD #F0FECD
triadic
#FEF4CD #CDFEF4 #F4CDFE
tetradic
#FEF4CD #CDFEDB #CDD7FE #FECDF0
square
#FEF4CD #CDFEDB #CDD7FE #FECDF0
split-complementary
#FEF4CD #CDF0FE #DBCDFE
monochromatic
#FCDA55 #FDE791 #FEF4CD #FEF8E1 #FEF8E1

Accessibility & contrast

On white

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

On black

19.04
#FEF4CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF4CD
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF4CD#FFFFFF#000000##000000
##FEF4CD1.001.1019.0419.04
#FFFFFF1.101.0021.0021.00
#00000019.0421.001.001.00
##00000019.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF2CB
Deuteranopia (green-blind)
#FFF5CE
Tritanopia (blue-blind)
#FFEEE9
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef4cd;
/* rgb */ color: rgb(254, 244, 205);
/* oklch */ color: oklch(96.5% 0.052 95.3);
Tailwind
colors: {
  custom: {
    50: '#fff7dc',
    500: '#fef4cd',
    950: '#000000',
  },
}
SCSS
$custom: #fef4cd;
$custom-light: #fff7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#fef4cd",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 205
  },
  "hsl": {
    "h": 47.755,
    "s": 96.078,
    "l": 90
  },
  "oklch": {
    "l": 0.96518,
    "c": 0.05167,
    "h": 95.3
  },
  "luminance": 0.9018
}

Semantic roles & 50–950 ramp

primary
#FEF4CD
secondary
#889BE8
accent
#2FE600
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#181715
muted
#868584

Preview Lab

Preview with #FEF4CD

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

Preview Lab → · Contrast checker → · Palette generator →

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