#FEF7DF#FEF7DF

#FEF7DF is a very light, muted yellow. Relative luminance 0.929; OKLCH L 97.5% C 0.032 H 93.5°. Best body text is #000000 at 19.58:1 contrast (WCAG AA passes).

Color values

HEX#FEF7DF
RGBrgb(254, 247, 223)
HSLhsl(46, 94%, 94%)
HSVhsv(46, 12%, 100%)
CMYKcmyk(0%, 2.8%, 12.2%, 0.4%)
CIE-LABlab(97.20, -1.60, 12.37)
CIE-LCHlch(97.20, 12.48, 97.37°)
OKLaboklab(97.53% -0.002 0.0322)
OKLCHoklch(97.53% 0.032 93.5)
XYZxyz(87.4519, 92.9210, 83.1263)
Luminance0.9292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF7DF #DFE6FE
analogous
#FEE7DF #FEF7DF #F5FEDF
triadic
#FEF7DF #DFFEF7 #F7DFFE
tetradic
#FEF7DF #DFFEE7 #DFE6FE #FEDFF5
square
#FEF7DF #DFFEE7 #DFE6FE #FEDFF5
split-complementary
#FEF7DF #DFF5FE #E7DFFE
monochromatic
#FAD968 #FCE8A4 #FEF7DF #FEF8E1 #FEF8E1

Accessibility & contrast

On white

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

On black

19.58
#FEF7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF7DF
19.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF7DF#FFFFFF#000000##000000
##FEF7DF1.001.0719.5819.58
#FFFFFF1.071.0021.0021.00
#00000019.5821.001.001.00
##00000019.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF6DE
Deuteranopia (green-blind)
#FFF8E0
Tritanopia (blue-blind)
#FFF3F0
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fef7df;
/* rgb */ color: rgb(254, 247, 223);
/* oklch */ color: oklch(97.5% 0.032 93.5);
Tailwind
colors: {
  custom: {
    50: '#fef9e9',
    500: '#fef7df',
    950: '#000000',
  },
}
SCSS
$custom: #fef7df;
$custom-light: #fef9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#fef7df",
  "rgb": {
    "r": 254,
    "g": 247,
    "b": 223
  },
  "hsl": {
    "h": 46.452,
    "s": 93.939,
    "l": 93.529
  },
  "oklch": {
    "l": 0.97528,
    "c": 0.03227,
    "h": 93.5
  },
  "luminance": 0.9292
}

Semantic roles & 50–950 ramp

primary
#FEF7DF
secondary
#98AAEA
accent
#34E600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181716
muted
#868584

Preview Lab

Preview with #FEF7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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