#FCEFA7#FCEFA7

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

Color values

HEX#FCEFA7
RGBrgb(252, 239, 167)
HSLhsl(51, 93%, 82%)
HSVhsv(51, 34%, 99%)
CMYKcmyk(0%, 5.2%, 33.7%, 1.2%)
CIE-LABlab(93.98, -5.95, 36.46)
CIE-LCHlch(93.98, 36.95, 99.27°)
OKLaboklab(94.6% -0.0146 0.0906)
OKLCHoklch(94.6% 0.092 99.2)
XYZxyz(77.9874, 85.2205, 48.8927)
Luminance0.8522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEFA7 #A7B4FC
analogous
#FCC5A7 #FCEFA7 #DEFCA7
triadic
#FCEFA7 #A7FCEF #EFA7FC
tetradic
#FCEFA7 #A7FCC5 #A7B4FC #FCA7DE
square
#FCEFA7 #A7FCC5 #A7B4FC #FCA7DE
split-complementary
#FCEFA7 #A7DEFC #C5A7FC
monochromatic
#F8D931 #FAE46C #FCEFA7 #FEFAE1 #FEFAE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCEFA7#FFFFFF#000000##000000
##FCEFA71.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)
#FCEBA2
Deuteranopia (green-blind)
#FFF0AA
Tritanopia (blue-blind)
#FFE5DC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcefa7;
/* rgb */ color: rgb(252, 239, 167);
/* oklch */ color: oklch(94.6% 0.092 99.2);
Tailwind
colors: {
  custom: {
    50: '#fef4c1',
    500: '#fcefa7',
    950: '#000000',
  },
}
SCSS
$custom: #fcefa7;
$custom-light: #fef4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcefa7",
  "rgb": {
    "r": 252,
    "g": 239,
    "b": 167
  },
  "hsl": {
    "h": 50.824,
    "s": 93.407,
    "l": 82.157
  },
  "oklch": {
    "l": 0.94602,
    "c": 0.09173,
    "h": 99.2
  },
  "luminance": 0.85218
}

Semantic roles & 50–950 ramp

primary
#FCEFA7
secondary
#687ADF
accent
#23E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FCEFA7

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

Preview Lab → · Contrast checker → · Palette generator →

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