#FEFBE7#FEFBE7

#FEFBE7 is a very light, muted yellow. Relative luminance 0.958; OKLCH L 98.5% C 0.026 H 99.9°. Best body text is #000000 at 20.17:1 contrast (WCAG AA passes).

Color values

HEX#FEFBE7
RGBrgb(254, 251, 231)
HSLhsl(52, 92%, 95%)
HSVhsv(52, 9%, 100%)
CMYKcmyk(0%, 1.2%, 9.1%, 0.4%)
CIE-LABlab(98.37, -2.35, 9.94)
CIE-LCHlch(98.37, 10.21, 103.30°)
OKLaboklab(98.51% -0.0045 0.026)
OKLCHoklch(98.51% 0.026 99.9)
XYZxyz(89.7923, 95.8353, 89.3535)
Luminance0.9584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFBE7 #E7EAFE
analogous
#FEEFE7 #FEFBE7 #F5FEE7
triadic
#FEFBE7 #E7FEFB #FBE7FE
tetradic
#FEFBE7 #E7FEEF #E7EAFE #FEE7F5
square
#FEFBE7 #E7FEEF #E7EAFE #FEE7F5
split-complementary
#FEFBE7 #E7F5FE #EFE7FE
monochromatic
#F9E771 #FCF1AC #FEFAE2 #FEFAE2 #FEFAE2

Accessibility & contrast

On white

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

On black

20.17
#FEFBE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFBE7
20.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFBE7#FFFFFF#000000##000000
##FEFBE71.001.0420.1720.17
#FFFFFF1.041.0021.0021.00
#00000020.1721.001.001.00
##00000020.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9E6
Deuteranopia (green-blind)
#FFFBE8
Tritanopia (blue-blind)
#FFF8F5
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #fefbe7;
/* rgb */ color: rgb(254, 251, 231);
/* oklch */ color: oklch(98.5% 0.026 99.9);
Tailwind
colors: {
  custom: {
    50: '#fefcee',
    500: '#fefbe7',
    950: '#000000',
  },
}
SCSS
$custom: #fefbe7;
$custom-light: #fefcee;
$custom-dark: #000000;
JSON
{
  "hex": "#fefbe7",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 231
  },
  "hsl": {
    "h": 52.174,
    "s": 92,
    "l": 95.098
  },
  "oklch": {
    "l": 0.98509,
    "c": 0.02635,
    "h": 99.9
  },
  "luminance": 0.95835
}

Semantic roles & 50–950 ramp

primary
#FEFBE7
secondary
#9FA9EA
accent
#1EE600
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #FEFBE7

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

Preview Lab → · Contrast checker → · Palette generator →

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