#FEFEF7#FEFEF7

#FEFEF7 is a very light, near-neutral yellow. Relative luminance 0.987; OKLCH L 99.5% C 0.009 H 106.6°. Best body text is #000000 at 20.73:1 contrast (WCAG AA passes).

Color values

HEX#FEFEF7
RGBrgb(254, 254, 247)
HSLhsl(60, 78%, 98%)
HSVhsv(60, 3%, 100%)
CMYKcmyk(0%, 0%, 2.8%, 0.4%)
CIE-LABlab(99.48, -1.21, 3.34)
CIE-LCHlch(99.48, 3.55, 109.91°)
OKLaboklab(99.51% -0.0026 0.0088)
OKLCHoklch(99.51% 0.009 106.6)
XYZxyz(93.1008, 98.6700, 102.1181)
Luminance0.9867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFEF7 #F7F7FE
analogous
#FEFAF7 #FEFEF7 #FAFEF7
triadic
#FEFEF7 #F7FEFE #FEF7FE
tetradic
#FEFEF7 #F7FEFA #F7F7FE #FEF7FA
square
#FEFEF7 #F7FEFA #F7F7FE #FEF7FA
split-complementary
#FEFEF7 #F7FAFE #FAF7FE
monochromatic
#F0F08A #F7F7C1 #FCFCE4 #FCFCE4 #FCFCE4

Accessibility & contrast

On white

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

On black

20.73
#FEFEF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFEF7
20.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFEF7#FFFFFF#000000##000000
##FEFEF71.001.0120.7320.73
#FFFFFF1.011.0021.0021.00
#00000020.7321.001.001.00
##00000020.7321.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: #fefef7;
/* rgb */ color: rgb(254, 254, 247);
/* oklch */ color: oklch(99.5% 0.009 106.6);
Tailwind
colors: {
  custom: {
    50: '#fefef9',
    500: '#fefef7',
    950: '#000000',
  },
}
SCSS
$custom: #fefef7;
$custom-light: #fefef9;
$custom-dark: #000000;
JSON
{
  "hex": "#fefef7",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 247
  },
  "hsl": {
    "h": 60,
    "s": 77.778,
    "l": 98.235
  },
  "oklch": {
    "l": 0.99511,
    "c": 0.00919,
    "h": 106.6
  },
  "luminance": 0.9867
}

Semantic roles & 50–950 ramp

primary
#FEFEF7
secondary
#B1B1E8
accent
#0BDA0B
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171717
muted
#858585

Preview Lab

Preview with #FEFEF7

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

Preview Lab → · Contrast checker → · Palette generator →

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