#FEFEF1#FEFEF1

#FEFEF1 is a very light, near-neutral yellow. Relative luminance 0.983; OKLCH L 99.4% C 0.017 H 106.7°. Best body text is #000000 at 20.66:1 contrast (WCAG AA passes).

Color values

HEX#FEFEF1
RGBrgb(254, 254, 241)
HSLhsl(60, 87%, 97%)
HSVhsv(60, 5%, 100%)
CMYKcmyk(0%, 0%, 5.1%, 0.4%)
CIE-LABlab(99.34, -2.22, 6.21)
CIE-LCHlch(99.34, 6.60, 109.68°)
OKLaboklab(99.35% -0.0049 0.0163)
OKLCHoklch(99.35% 0.017 106.7)
XYZxyz(92.1898, 98.3056, 97.3202)
Luminance0.9830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFEF1 #F1F1FE
analogous
#FEF8F1 #FEFEF1 #F8FEF1
triadic
#FEFEF1 #F1FEFE #FEF1FE
tetradic
#FEFEF1 #F1FEF8 #F1F1FE #FEF1F8
square
#FEFEF1 #F1FEF8 #F1F1FE #FEF1F8
split-complementary
#FEFEF1 #F1F8FE #F8F1FE
monochromatic
#F6F67F #FAFAB8 #FDFDE2 #FDFDE2 #FDFDE2

Accessibility & contrast

On white

1.02
#FEFEF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.66
#FEFEF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFEF1
20.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFEF1#FFFFFF#000000##000000
##FEFEF11.001.0220.6620.66
#FFFFFF1.021.0021.0021.00
#00000020.6621.001.001.00
##00000020.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFDF0
Deuteranopia (green-blind)
#FFFDF1
Tritanopia (blue-blind)
#FFFCFA
Achromatopsia (no color)
#FDFDFD

Design tokens & code

CSS
--color: #fefef1;
/* rgb */ color: rgb(254, 254, 241);
/* oklch */ color: oklch(99.4% 0.017 106.7);
Tailwind
colors: {
  custom: {
    50: '#fefef5',
    500: '#fefef1',
    950: '#000000',
  },
}
SCSS
$custom: #fefef1;
$custom-light: #fefef5;
$custom-dark: #000000;
JSON
{
  "hex": "#fefef1",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 241
  },
  "hsl": {
    "h": 60,
    "s": 86.667,
    "l": 97.059
  },
  "oklch": {
    "l": 0.99352,
    "c": 0.01703,
    "h": 106.7
  },
  "luminance": 0.98305
}

Semantic roles & 50–950 ramp

primary
#FEFEF1
secondary
#A9A9EA
accent
#02E302
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #FEFEF1

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

Preview Lab → · Contrast checker → · Palette generator →

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