#FEF9CD#FEF9CD

#FEF9CD is a very light, muted yellow. Relative luminance 0.932; OKLCH L 97.5% C 0.057 H 102.0°. Best body text is #000000 at 19.65:1 contrast (WCAG AA passes).

Color values

HEX#FEF9CD
RGBrgb(254, 249, 205)
HSLhsl(54, 96%, 90%)
HSVhsv(54, 19%, 100%)
CMYKcmyk(0%, 2%, 19.3%, 0.4%)
CIE-LABlab(97.32, -5.29, 21.77)
CIE-LCHlch(97.32, 22.40, 103.65°)
OKLaboklab(97.5% -0.0119 0.0558)
OKLCHoklch(97.5% 0.057 102)
XYZxyz(85.7677, 93.2311, 71.2230)
Luminance0.9323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF9CD #CDD2FE
analogous
#FEE1CD #FEF9CD #EAFECD
triadic
#FEF9CD #CDFEF9 #F9CDFE
tetradic
#FEF9CD #CDFEE1 #CDD2FE #FECDEA
square
#FEF9CD #CDFEE1 #CDD2FE #FECDEA
split-complementary
#FEF9CD #CDEAFE #E1CDFE
monochromatic
#FCEB55 #FDF291 #FEF9CD #FEFBE1 #FEFBE1

Accessibility & contrast

On white

1.07
#FEF9CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.65
#FEF9CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF9CD
19.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF9CD#FFFFFF#000000##000000
##FEF9CD1.001.0719.6519.65
#FFFFFF1.071.0021.0021.00
#00000019.6521.001.001.00
##00000019.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6CA
Deuteranopia (green-blind)
#FFF9CE
Tritanopia (blue-blind)
#FFF3ED
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fef9cd;
/* rgb */ color: rgb(254, 249, 205);
/* oklch */ color: oklch(97.5% 0.057 102.0);
Tailwind
colors: {
  custom: {
    50: '#fffbdc',
    500: '#fef9cd',
    950: '#000000',
  },
}
SCSS
$custom: #fef9cd;
$custom-light: #fffbdc;
$custom-dark: #000000;
JSON
{
  "hex": "#fef9cd",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 205
  },
  "hsl": {
    "h": 53.878,
    "s": 96.078,
    "l": 90
  },
  "oklch": {
    "l": 0.97504,
    "c": 0.05701,
    "h": 102
  },
  "luminance": 0.9323
}

Semantic roles & 50–950 ramp

primary
#FEF9CD
secondary
#8891E8
accent
#17E600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181715
muted
#868584

Preview Lab

Preview with #FEF9CD

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

Preview Lab → · Contrast checker → · Palette generator →

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