#FCEFAF#FCEFAF

#FCEFAF is a very light, moderate yellow. Relative luminance 0.855; OKLCH L 94.7% C 0.082 H 98.0°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#FCEFAF
RGBrgb(252, 239, 175)
HSLhsl(50, 93%, 84%)
HSVhsv(50, 31%, 99%)
CMYKcmyk(0%, 5.2%, 30.6%, 1.2%)
CIE-LABlab(94.11, -4.99, 32.61)
CIE-LCHlch(94.11, 32.99, 98.71°)
OKLaboklab(94.75% -0.0115 0.0817)
OKLCHoklch(94.75% 0.082 98)
XYZxyz(78.7500, 85.5255, 52.9088)
Luminance0.8552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEFAF #AFBCFC
analogous
#FCC8AF #FCEFAF #E2FCAF
triadic
#FCEFAF #AFFCEF #EFAFFC
tetradic
#FCEFAF #AFFCC8 #AFBCFC #FCAFE2
square
#FCEFAF #AFFCC8 #AFBCFC #FCAFE2
split-complementary
#FCEFAF #AFE2FC #C8AFFC
monochromatic
#F8D739 #FAE374 #FCEFAF #FEF9E2 #FEF9E2

Accessibility & contrast

On white

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

On black

18.10
#FCEFAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEFAF
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEFAF#FFFFFF#000000##000000
##FCEFAF1.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEBAB
Deuteranopia (green-blind)
#FFF0B1
Tritanopia (blue-blind)
#FFE6DE
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcefaf;
/* rgb */ color: rgb(252, 239, 175);
/* oklch */ color: oklch(94.7% 0.082 98.0);
Tailwind
colors: {
  custom: {
    50: '#fef4c7',
    500: '#fcefaf',
    950: '#000000',
  },
}
SCSS
$custom: #fcefaf;
$custom-light: #fef4c7;
$custom-dark: #000000;
JSON
{
  "hex": "#fcefaf",
  "rgb": {
    "r": 252,
    "g": 239,
    "b": 175
  },
  "hsl": {
    "h": 49.87,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.94749,
    "c": 0.08247,
    "h": 98
  },
  "luminance": 0.85524
}

Semantic roles & 50–950 ramp

primary
#FCEFAF
secondary
#6F82E0
accent
#27E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FCEFAF

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

Preview Lab → · Contrast checker → · Palette generator →

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