#FCEFA4#FCEFA4

#FCEFA4 is a very light, moderate yellow. Relative luminance 0.851; OKLCH L 94.5% C 0.095 H 99.6°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#FCEFA4
RGBrgb(252, 239, 164)
HSLhsl(51, 94%, 82%)
HSVhsv(51, 35%, 99%)
CMYKcmyk(0%, 5.2%, 34.9%, 1.2%)
CIE-LABlab(93.93, -6.30, 37.91)
CIE-LCHlch(93.93, 38.42, 99.43°)
OKLaboklab(94.55% -0.0158 0.0938)
OKLCHoklch(94.55% 0.095 99.6)
XYZxyz(77.7133, 85.1108, 47.4491)
Luminance0.8511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEFA4 #A4B1FC
analogous
#FCC3A4 #FCEFA4 #DDFCA4
triadic
#FCEFA4 #A4FCEF #EFA4FC
tetradic
#FCEFA4 #A4FCC3 #A4B1FC #FCA4DD
square
#FCEFA4 #A4FCC3 #A4B1FC #FCA4DD
split-complementary
#FCEFA4 #A4DDFC #C3A4FC
monochromatic
#F8DA2E #FAE569 #FCEFA4 #FEF9DF #FEFAE1

Accessibility & contrast

On white

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

On black

18.02
#FCEFA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEFA4
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEFA4#FFFFFF#000000##000000
##FCEFA41.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcefa4;
/* rgb */ color: rgb(252, 239, 164);
/* oklch */ color: oklch(94.5% 0.095 99.6);
Tailwind
colors: {
  custom: {
    50: '#fef4bf',
    500: '#fcefa4',
    950: '#000000',
  },
}
SCSS
$custom: #fcefa4;
$custom-light: #fef4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#fcefa4",
  "rgb": {
    "r": 252,
    "g": 239,
    "b": 164
  },
  "hsl": {
    "h": 51.136,
    "s": 93.617,
    "l": 81.569
  },
  "oklch": {
    "l": 0.9455,
    "c": 0.09515,
    "h": 99.6
  },
  "luminance": 0.85109
}

Semantic roles & 50–950 ramp

primary
#FCEFA4
secondary
#6577DF
accent
#22E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FCEFA4

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

Preview Lab → · Contrast checker → · Palette generator →

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