#FEFBEF#FEFBEF

#FEFBEF is a very light, near-neutral yellow. Relative luminance 0.963; OKLCH L 98.7% C 0.016 H 95.2°. Best body text is #000000 at 20.26:1 contrast (WCAG AA passes).

Color values

HEX#FEFBEF
RGBrgb(254, 251, 239)
HSLhsl(48, 88%, 97%)
HSVhsv(48, 6%, 100%)
CMYKcmyk(0%, 1.2%, 5.9%, 0.4%)
CIE-LABlab(98.55, -1.04, 6.10)
CIE-LCHlch(98.55, 6.18, 99.73°)
OKLaboklab(98.71% -0.0015 0.016)
OKLCHoklch(98.71% 0.016 95.2)
XYZxyz(90.9481, 96.2976, 95.4407)
Luminance0.9630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFBEF #EFF2FE
analogous
#FEF4EF #FEFBEF #FAFEEF
triadic
#FEFBEF #EFFEFB #FBEFFE
tetradic
#FEFBEF #EFFEF4 #EFF2FE #FEEFFA
square
#FEFBEF #EFFEF4 #EFF2FE #FEEFFA
split-complementary
#FEFBEF #EFFAFE #F4EFFE
monochromatic
#F7DE7C #FAEDB5 #FDF8E2 #FDF8E2 #FDF8E2

Accessibility & contrast

On white

1.04
#FEFBEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.26
#FEFBEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFBEF
20.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFBEF#FFFFFF#000000##000000
##FEFBEF1.001.0420.2620.26
#FFFFFF1.041.0021.0021.00
#00000020.2621.001.001.00
##00000020.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEFAEE
Deuteranopia (green-blind)
#FFFBEF
Tritanopia (blue-blind)
#FFF9F7
Achromatopsia (no color)
#FBFBFB

Design tokens & code

CSS
--color: #fefbef;
/* rgb */ color: rgb(254, 251, 239);
/* oklch */ color: oklch(98.7% 0.016 95.2);
Tailwind
colors: {
  custom: {
    50: '#fefcf4',
    500: '#fefbef',
    950: '#000000',
  },
}
SCSS
$custom: #fefbef;
$custom-light: #fefcf4;
$custom-dark: #000000;
JSON
{
  "hex": "#fefbef",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 239
  },
  "hsl": {
    "h": 48,
    "s": 88.235,
    "l": 96.667
  },
  "oklch": {
    "l": 0.98714,
    "c": 0.01609,
    "h": 95.2
  },
  "luminance": 0.96297
}

Semantic roles & 50–950 ramp

primary
#FEFBEF
secondary
#A7B4EA
accent
#2EE501
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #FEFBEF

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

Preview Lab → · Contrast checker → · Palette generator →

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