#FEFEC1#FEFEC1

#FEFEC1 is a very light, moderate yellow. Relative luminance 0.958; OKLCH L 98.2% C 0.078 H 107.7°. Best body text is #000000 at 20.16:1 contrast (WCAG AA passes).

Color values

HEX#FEFEC1
RGBrgb(254, 254, 193)
HSLhsl(60, 97%, 88%)
HSVhsv(60, 24%, 100%)
CMYKcmyk(0%, 0%, 24%, 0.4%)
CIE-LABlab(98.36, -9.42, 29.28)
CIE-LCHlch(98.36, 30.75, 107.83°)
OKLaboklab(98.25% -0.0237 0.074)
OKLCHoklch(98.25% 0.078 107.7)
XYZxyz(85.9404, 95.8059, 64.4068)
Luminance0.9580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFEC1 #C1C1FE
analogous
#FEDFC1 #FEFEC1 #DFFEC1
triadic
#FEFEC1 #C1FEFE #FEC1FE
tetradic
#FEFEC1 #C1FEDF #C1C1FE #FEC1DF
square
#FEFEC1 #C1FEDF #C1C1FE #FEC1DF
split-complementary
#FEFEC1 #C1DFFE #DFC1FE
monochromatic
#FCFC49 #FDFD85 #FEFEC1 #FFFFE1 #FFFFE1

Accessibility & contrast

On white

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

On black

20.16
#FEFEC1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFEC1
20.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFEC1#FFFFFF#000000##000000
##FEFEC11.001.0420.1620.16
#FFFFFF1.041.0021.0021.00
#00000020.1621.001.001.00
##00000020.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9BD
Deuteranopia (green-blind)
#FFFCC3
Tritanopia (blue-blind)
#FFF6EE
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #fefec1;
/* rgb */ color: rgb(254, 254, 193);
/* oklch */ color: oklch(98.2% 0.078 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffed4',
    500: '#fefec1',
    950: '#000000',
  },
}
SCSS
$custom: #fefec1;
$custom-light: #fffed4;
$custom-dark: #000000;
JSON
{
  "hex": "#fefec1",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 193
  },
  "hsl": {
    "h": 60,
    "s": 96.825,
    "l": 87.647
  },
  "oklch": {
    "l": 0.98248,
    "c": 0.0777,
    "h": 107.7
  },
  "luminance": 0.95805
}

Semantic roles & 50–950 ramp

primary
#FEFEC1
secondary
#7D7DE6
accent
#00E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEFEC1

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

Preview Lab → · Contrast checker → · Palette generator →

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