#FEF7DE#FEF7DE

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

Color values

HEX#FEF7DE
RGBrgb(254, 247, 222)
HSLhsl(47, 94%, 93%)
HSVhsv(47, 13%, 100%)
CMYKcmyk(0%, 2.8%, 12.6%, 0.4%)
CIE-LABlab(97.17, -1.76, 12.86)
CIE-LCHlch(97.17, 12.98, 97.78°)
OKLaboklab(97.5% -0.0024 0.0334)
OKLCHoklch(97.5% 0.034 94.1)
XYZxyz(87.3174, 92.8672, 82.4183)
Luminance0.9287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF7DE #DEE5FE
analogous
#FEE7DE #FEF7DE #F5FEDE
triadic
#FEF7DE #DEFEF7 #F7DEFE
tetradic
#FEF7DE #DEFEE7 #DEE5FE #FEDEF5
square
#FEF7DE #DEFEE7 #DEE5FE #FEDEF5
split-complementary
#FEF7DE #DEF5FE #E7DEFE
monochromatic
#FADA67 #FCE9A3 #FEF7DE #FEF8E1 #FEF8E1

Accessibility & contrast

On white

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

On black

19.57
#FEF7DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF7DE
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF7DE#FFFFFF#000000##000000
##FEF7DE1.001.0719.5719.57
#FFFFFF1.071.0021.0021.00
#00000019.5721.001.001.00
##00000019.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef7de;
/* rgb */ color: rgb(254, 247, 222);
/* oklch */ color: oklch(97.5% 0.034 94.1);
Tailwind
colors: {
  custom: {
    50: '#fef9e8',
    500: '#fef7de',
    950: '#000000',
  },
}
SCSS
$custom: #fef7de;
$custom-light: #fef9e8;
$custom-dark: #000000;
JSON
{
  "hex": "#fef7de",
  "rgb": {
    "r": 254,
    "g": 247,
    "b": 222
  },
  "hsl": {
    "h": 46.875,
    "s": 94.118,
    "l": 93.333
  },
  "oklch": {
    "l": 0.97504,
    "c": 0.03352,
    "h": 94.1
  },
  "luminance": 0.92866
}

Semantic roles & 50–950 ramp

primary
#FEF7DE
secondary
#97A9EA
accent
#32E600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181716
muted
#868584

Preview Lab

Preview with #FEF7DE

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

Preview Lab → · Contrast checker → · Palette generator →

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