#FCEFA6#FCEFA6

#FCEFA6 is a very light, moderate yellow. Relative luminance 0.852; OKLCH L 94.6% C 0.093 H 99.3°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#FCEFA6
RGBrgb(252, 239, 166)
HSLhsl(51, 93%, 82%)
HSVhsv(51, 34%, 99%)
CMYKcmyk(0%, 5.2%, 34.1%, 1.2%)
CIE-LABlab(93.96, -6.07, 36.95)
CIE-LCHlch(93.96, 37.44, 99.32°)
OKLaboklab(94.59% -0.015 0.0917)
OKLCHoklch(94.59% 0.093 99.3)
XYZxyz(77.8954, 85.1836, 48.4078)
Luminance0.8518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEFA6 #A6B3FC
analogous
#FCC4A6 #FCEFA6 #DEFCA6
triadic
#FCEFA6 #A6FCEF #EFA6FC
tetradic
#FCEFA6 #A6FCC4 #A6B3FC #FCA6DE
square
#FCEFA6 #A6FCC4 #A6B3FC #FCA6DE
split-complementary
#FCEFA6 #A6DEFC #C4A6FC
monochromatic
#F8DA30 #FAE46B #FCEFA6 #FEFAE1 #FEFAE1

Accessibility & contrast

On white

1.16
#FCEFA6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.04
#FCEFA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEFA6
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEFA6#FFFFFF#000000##000000
##FCEFA61.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEBA1
Deuteranopia (green-blind)
#FFF0A9
Tritanopia (blue-blind)
#FFE5DC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcefa6;
/* rgb */ color: rgb(252, 239, 166);
/* oklch */ color: oklch(94.6% 0.093 99.3);
Tailwind
colors: {
  custom: {
    50: '#fef4c1',
    500: '#fcefa6',
    950: '#000000',
  },
}
SCSS
$custom: #fcefa6;
$custom-light: #fef4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcefa6",
  "rgb": {
    "r": 252,
    "g": 239,
    "b": 166
  },
  "hsl": {
    "h": 50.93,
    "s": 93.478,
    "l": 81.961
  },
  "oklch": {
    "l": 0.94585,
    "c": 0.09288,
    "h": 99.3
  },
  "luminance": 0.85182
}

Semantic roles & 50–950 ramp

primary
#FCEFA6
secondary
#6779DF
accent
#23E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FCEFA6

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

Preview Lab → · Contrast checker → · Palette generator →

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