#FCFEC2#FCFEC2

#FCFEC2 is a very light, moderate yellow. Relative luminance 0.955; OKLCH L 98.1% C 0.077 H 109.3°. Best body text is #000000 at 20.09:1 contrast (WCAG AA passes).

Color values

HEX#FCFEC2
RGBrgb(252, 254, 194)
HSLhsl(62, 97%, 88%)
HSVhsv(62, 24%, 100%)
CMYKcmyk(0.8%, 0%, 23.6%, 0.4%)
CIE-LABlab(98.22, -10.01, 28.57)
CIE-LCHlch(98.22, 30.27, 109.31°)
OKLaboklab(98.11% -0.0253 0.0723)
OKLCHoklch(98.11% 0.077 109.3)
XYZxyz(85.3240, 95.4751, 64.9622)
Luminance0.9547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCFEC2 #C4C2FE
analogous
#FEE2C2 #FCFEC2 #DEFEC2
triadic
#FCFEC2 #C2FCFE #FEC2FC
tetradic
#FCFEC2 #C2FEE2 #C4C2FE #FEC2DE
square
#FCFEC2 #C2FEE2 #C4C2FE #FEC2DE
split-complementary
#FCFEC2 #C2DEFE #E2C2FE
monochromatic
#F6FC4A #F9FD86 #FCFEC2 #FEFFE1 #FEFFE1

Accessibility & contrast

On white

1.05
#FCFEC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.09
#FCFEC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCFEC2
20.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCFEC2#FFFFFF#000000##000000
##FCFEC21.001.0520.0920.09
#FFFFFF1.051.0021.0021.00
#00000020.0921.001.001.00
##00000020.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcfec2;
/* rgb */ color: rgb(252, 254, 194);
/* oklch */ color: oklch(98.1% 0.077 109.3);
Tailwind
colors: {
  custom: {
    50: '#fefed4',
    500: '#fcfec2',
    950: '#000000',
  },
}
SCSS
$custom: #fcfec2;
$custom-light: #fefed4;
$custom-dark: #000000;
JSON
{
  "hex": "#fcfec2",
  "rgb": {
    "r": 252,
    "g": 254,
    "b": 194
  },
  "hsl": {
    "h": 62,
    "s": 96.774,
    "l": 87.843
  },
  "oklch": {
    "l": 0.98113,
    "c": 0.07662,
    "h": 109.3
  },
  "luminance": 0.95474
}

Semantic roles & 50–950 ramp

primary
#FCFEC2
secondary
#817EE6
accent
#00E608
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FCFEC2

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

Preview Lab → · Contrast checker → · Palette generator →

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