#FEFEC8#FEFEC8

#FEFEC8 is a very light, moderate yellow. Relative luminance 0.961; OKLCH L 98.4% C 0.069 H 107.6°. Best body text is #000000 at 20.22:1 contrast (WCAG AA passes).

Color values

HEX#FEFEC8
RGBrgb(254, 254, 200)
HSLhsl(60, 96%, 89%)
HSVhsv(60, 21%, 100%)
CMYKcmyk(0%, 0%, 21.3%, 0.4%)
CIE-LABlab(98.48, -8.47, 25.91)
CIE-LCHlch(98.48, 27.26, 108.10°)
OKLaboklab(98.39% -0.0209 0.0659)
OKLCHoklch(98.39% 0.069 107.6)
XYZxyz(86.7398, 96.1256, 68.6170)
Luminance0.9613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFEC8 #C8C8FE
analogous
#FEE3C8 #FEFEC8 #E3FEC8
triadic
#FEFEC8 #C8FEFE #FEC8FE
tetradic
#FEFEC8 #C8FEE3 #C8C8FE #FEC8E3
square
#FEFEC8 #C8FEE3 #C8C8FE #FEC8E3
split-complementary
#FEFEC8 #C8E3FE #E3C8FE
monochromatic
#FCFC50 #FDFD8C #FEFEC8 #FEFEE1 #FEFEE1

Accessibility & contrast

On white

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

On black

20.22
#FEFEC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFEC8
20.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFEC8#FFFFFF#000000##000000
##FEFEC81.001.0420.2220.22
#FFFFFF1.041.0021.0021.00
#00000020.2221.001.001.00
##00000020.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9C5
Deuteranopia (green-blind)
#FFFCCA
Tritanopia (blue-blind)
#FFF7EF
Achromatopsia (no color)
#FBFBFB

Design tokens & code

CSS
--color: #fefec8;
/* rgb */ color: rgb(254, 254, 200);
/* oklch */ color: oklch(98.4% 0.069 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffed9',
    500: '#fefec8',
    950: '#000000',
  },
}
SCSS
$custom: #fefec8;
$custom-light: #fffed9;
$custom-dark: #000000;
JSON
{
  "hex": "#fefec8",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 200
  },
  "hsl": {
    "h": 60,
    "s": 96.429,
    "l": 89.02
  },
  "oklch": {
    "l": 0.98391,
    "c": 0.06915,
    "h": 107.6
  },
  "luminance": 0.96125
}

Semantic roles & 50–950 ramp

primary
#FEFEC8
secondary
#8383E7
accent
#00E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEFEC8

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

Preview Lab → · Contrast checker → · Palette generator →

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