#FCEFA8#FCEFA8

#FCEFA8 is a very light, moderate yellow. Relative luminance 0.853; OKLCH L 94.6% C 0.091 H 99.0°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#FCEFA8
RGBrgb(252, 239, 168)
HSLhsl(51, 93%, 82%)
HSVhsv(51, 33%, 99%)
CMYKcmyk(0%, 5.2%, 33.3%, 1.2%)
CIE-LABlab(93.99, -5.83, 35.98)
CIE-LCHlch(93.99, 36.45, 99.21°)
OKLaboklab(94.62% -0.0142 0.0895)
OKLCHoklch(94.62% 0.091 99)
XYZxyz(78.0802, 85.2576, 49.3815)
Luminance0.8526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEFA8 #A8B5FC
analogous
#FCC5A8 #FCEFA8 #DFFCA8
triadic
#FCEFA8 #A8FCEF #EFA8FC
tetradic
#FCEFA8 #A8FCC5 #A8B5FC #FCA8DF
square
#FCEFA8 #A8FCC5 #A8B5FC #FCA8DF
split-complementary
#FCEFA8 #A8DFFC #C5A8FC
monochromatic
#F8D932 #FAE46D #FCEFA8 #FEFAE1 #FEFAE1

Accessibility & contrast

On white

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

On black

18.05
#FCEFA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEFA8
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEFA8#FFFFFF#000000##000000
##FCEFA81.001.1618.0518.05
#FFFFFF1.161.0021.0021.00
#00000018.0521.001.001.00
##00000018.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEBA3
Deuteranopia (green-blind)
#FFF0AB
Tritanopia (blue-blind)
#FFE5DD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcefa8;
/* rgb */ color: rgb(252, 239, 168);
/* oklch */ color: oklch(94.6% 0.091 99.0);
Tailwind
colors: {
  custom: {
    50: '#fef4c2',
    500: '#fcefa8',
    950: '#000000',
  },
}
SCSS
$custom: #fcefa8;
$custom-light: #fef4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#fcefa8",
  "rgb": {
    "r": 252,
    "g": 239,
    "b": 168
  },
  "hsl": {
    "h": 50.714,
    "s": 93.333,
    "l": 82.353
  },
  "oklch": {
    "l": 0.9462,
    "c": 0.09059,
    "h": 99
  },
  "luminance": 0.85256
}

Semantic roles & 50–950 ramp

primary
#FCEFA8
secondary
#697BDF
accent
#24E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FCEFA8

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

Preview Lab → · Contrast checker → · Palette generator →

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