#FEFEF0#FEFEF0

#FEFEF0 is a very light, near-neutral yellow. Relative luminance 0.982; OKLCH L 99.3% C 0.018 H 106.7°. Best body text is #000000 at 20.65:1 contrast (WCAG AA passes).

Color values

HEX#FEFEF0
RGBrgb(254, 254, 240)
HSLhsl(60, 88%, 97%)
HSVhsv(60, 6%, 100%)
CMYKcmyk(0%, 0%, 5.5%, 0.4%)
CIE-LABlab(99.32, -2.39, 6.69)
CIE-LCHlch(99.32, 7.10, 109.64°)
OKLaboklab(99.33% -0.0053 0.0176)
OKLCHoklch(99.33% 0.018 106.7)
XYZxyz(92.0408, 98.2460, 96.5357)
Luminance0.9825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFEF0 #F0F0FE
analogous
#FEF7F0 #FEFEF0 #F7FEF0
triadic
#FEFEF0 #F0FEFE #FEF0FE
tetradic
#FEFEF0 #F0FEF7 #F0F0FE #FEF0F7
square
#FEFEF0 #F0FEF7 #F0F0FE #FEF0F7
split-complementary
#FEFEF0 #F0F7FE #F7F0FE
monochromatic
#F6F67D #FAFAB7 #FDFDE2 #FDFDE2 #FDFDE2

Accessibility & contrast

On white

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

On black

20.65
#FEFEF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFEF0
20.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFEF0#FFFFFF#000000##000000
##FEFEF01.001.0220.6520.65
#FFFFFF1.021.0021.0021.00
#00000020.6521.001.001.00
##00000020.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fefef0;
/* rgb */ color: rgb(254, 254, 240);
/* oklch */ color: oklch(99.3% 0.018 106.7);
Tailwind
colors: {
  custom: {
    50: '#fefef4',
    500: '#fefef0',
    950: '#000000',
  },
}
SCSS
$custom: #fefef0;
$custom-light: #fefef4;
$custom-dark: #000000;
JSON
{
  "hex": "#fefef0",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 240
  },
  "hsl": {
    "h": 60,
    "s": 87.5,
    "l": 96.863
  },
  "oklch": {
    "l": 0.99326,
    "c": 0.01833,
    "h": 106.7
  },
  "luminance": 0.98246
}

Semantic roles & 50–950 ramp

primary
#FEFEF0
secondary
#A8A8EA
accent
#01E401
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #FEFEF0

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

Preview Lab → · Contrast checker → · Palette generator →

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