#FFFEF7#FFFEF7

#FFFEF7 is a very light, near-neutral yellow. Relative luminance 0.989; OKLCH L 99.6% C 0.009 H 100.0°. Best body text is #000000 at 20.77:1 contrast (WCAG AA passes).

Color values

HEX#FFFEF7
RGBrgb(255, 254, 247)
HSLhsl(53, 100%, 98%)
HSVhsv(53, 3%, 100%)
CMYKcmyk(0%, 0.4%, 3.1%, 0%)
CIE-LABlab(99.56, -0.88, 3.46)
CIE-LCHlch(99.56, 3.57, 104.22°)
OKLaboklab(99.59% -0.0016 0.0091)
OKLCHoklch(99.59% 0.009 100)
XYZxyz(93.4678, 98.8592, 102.1354)
Luminance0.9886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFEF7 #F7F8FF
analogous
#FFFAF7 #FFFEF7 #FCFFF7
triadic
#FFFEF7 #F7FFFE #FEF7FF
tetradic
#FFFEF7 #F7FFFA #F7F8FF #FFF7FC
square
#FFFEF7 #F7FFFA #F7F8FF #FFF7FC
split-complementary
#FFFEF7 #F7FCFF #FAF7FF
monochromatic
#FFEF7D #FFF6BA #FFFBE0 #FFFBE0 #FFFBE0

Accessibility & contrast

On white

1.01
#FFFEF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.77
#FFFEF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFEF7
20.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFEF7#FFFFFF#000000##000000
##FFFEF71.001.0120.7720.77
#FFFFFF1.011.0021.0021.00
#00000020.7721.001.001.00
##00000020.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFDF7
Deuteranopia (green-blind)
#FFFEF7
Tritanopia (blue-blind)
#FFFDFC
Achromatopsia (no color)
#FEFEFE

Design tokens & code

CSS
--color: #fffef7;
/* rgb */ color: rgb(255, 254, 247);
/* oklch */ color: oklch(99.6% 0.009 100.0);
Tailwind
colors: {
  custom: {
    50: '#fffef9',
    500: '#fffef7',
    950: '#000000',
  },
}
SCSS
$custom: #fffef7;
$custom-light: #fffef9;
$custom-dark: #000000;
JSON
{
  "hex": "#fffef7",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 247
  },
  "hsl": {
    "h": 52.5,
    "s": 100,
    "l": 98.431
  },
  "oklch": {
    "l": 0.99587,
    "c": 0.00926,
    "h": 100
  },
  "luminance": 0.98859
}

Semantic roles & 50–950 ramp

primary
#FFFEF7
secondary
#AAB3F0
accent
#1DE600
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#181717
muted
#868585

Preview Lab

Preview with #FFFEF7

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

Preview Lab → · Contrast checker → · Palette generator →

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