#FCEFA1#FCEFA1

#FCEFA1 is a very light, moderate yellow. Relative luminance 0.850; OKLCH L 94.5% C 0.099 H 99.9°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#FCEFA1
RGBrgb(252, 239, 161)
HSLhsl(51, 94%, 81%)
HSVhsv(51, 36%, 99%)
CMYKcmyk(0%, 5.2%, 36.1%, 1.2%)
CIE-LABlab(93.88, -6.63, 39.34)
CIE-LCHlch(93.88, 39.90, 99.57°)
OKLaboklab(94.5% -0.017 0.0971)
OKLCHoklch(94.5% 0.099 99.9)
XYZxyz(77.4456, 85.0037, 46.0390)
Luminance0.8500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEFA1 #A1AEFC
analogous
#FCC1A1 #FCEFA1 #DBFCA1
triadic
#FCEFA1 #A1FCEF #EFA1FC
tetradic
#FCEFA1 #A1FCC1 #A1AEFC #FCA1DB
square
#FCEFA1 #A1FCC1 #A1AEFC #FCA1DB
split-complementary
#FCEFA1 #A1DBFC #C1A1FC
monochromatic
#F8DB2A #FAE566 #FCEFA1 #FEF9DC #FEFAE1

Accessibility & contrast

On white

1.17
#FCEFA1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.00
#FCEFA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEFA1
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEFA1#FFFFFF#000000##000000
##FCEFA11.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEA9B
Deuteranopia (green-blind)
#FFF0A4
Tritanopia (blue-blind)
#FFE5DB
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fcefa1;
/* rgb */ color: rgb(252, 239, 161);
/* oklch */ color: oklch(94.5% 0.099 99.9);
Tailwind
colors: {
  custom: {
    50: '#fef4bd',
    500: '#fcefa1',
    950: '#000000',
  },
}
SCSS
$custom: #fcefa1;
$custom-light: #fef4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#fcefa1",
  "rgb": {
    "r": 252,
    "g": 239,
    "b": 161
  },
  "hsl": {
    "h": 51.429,
    "s": 93.814,
    "l": 80.98
  },
  "oklch": {
    "l": 0.94498,
    "c": 0.09854,
    "h": 99.9
  },
  "luminance": 0.85002
}

Semantic roles & 50–950 ramp

primary
#FCEFA1
secondary
#6374DF
accent
#21E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FCEFA1

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

Preview Lab → · Contrast checker → · Palette generator →

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