#FDF9EC#FDF9EC

#FDF9EC is a very light, near-neutral yellow. Relative luminance 0.947; OKLCH L 98.2% C 0.018 H 92.7°. Best body text is #000000 at 19.94:1 contrast (WCAG AA passes).

Color values

HEX#FDF9EC
RGBrgb(253, 249, 236)
HSLhsl(46, 81%, 96%)
HSVhsv(46, 7%, 99%)
CMYKcmyk(0%, 1.6%, 6.7%, 0.8%)
CIE-LABlab(97.91, -0.87, 6.70)
CIE-LCHlch(97.91, 6.76, 97.41°)
OKLaboklab(98.17% -0.0008 0.0176)
OKLCHoklch(98.17% 0.018 92.7)
XYZxyz(89.5220, 94.6907, 92.9016)
Luminance0.9469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF9EC #ECF0FD
analogous
#FDF0EC #FDF9EC #F8FDEC
triadic
#FDF9EC #ECFDF9 #F9ECFD
tetradic
#FDF9EC #ECFDF0 #ECF0FD #FDECF8
square
#FDF9EC #ECFDF0 #ECF0FD #FDECF8
split-complementary
#FDF9EC #ECF8FD #F0ECFD
monochromatic
#F1D67D #F7E8B5 #FCF6E3 #FCF6E3 #FCF6E3

Accessibility & contrast

On white

1.05
#FDF9EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.94
#FDF9EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF9EC
19.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF9EC#FFFFFF#000000##000000
##FDF9EC1.001.0519.9419.94
#FFFFFF1.051.0021.0021.00
#00000019.9421.001.001.00
##00000019.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF8EB
Deuteranopia (green-blind)
#FDFAEC
Tritanopia (blue-blind)
#FFF7F5
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fdf9ec;
/* rgb */ color: rgb(253, 249, 236);
/* oklch */ color: oklch(98.2% 0.018 92.7);
Tailwind
colors: {
  custom: {
    50: '#fefbf2',
    500: '#fdf9ec',
    950: '#000000',
  },
}
SCSS
$custom: #fdf9ec;
$custom-light: #fefbf2;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf9ec",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 236
  },
  "hsl": {
    "h": 45.882,
    "s": 80.952,
    "l": 95.882
  },
  "oklch": {
    "l": 0.98168,
    "c": 0.01762,
    "h": 92.7
  },
  "luminance": 0.9469
}

Semantic roles & 50–950 ramp

primary
#FDF9EC
secondary
#A7B6E7
accent
#3ADD08
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #FDF9EC

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

Preview Lab → · Contrast checker → · Palette generator →

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