#FCEFA5#FCEFA5

#FCEFA5 is a very light, moderate yellow. Relative luminance 0.851; OKLCH L 94.6% C 0.094 H 99.4°. Best body text is #000000 at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#FCEFA5
RGBrgb(252, 239, 165)
HSLhsl(51, 94%, 82%)
HSVhsv(51, 35%, 99%)
CMYKcmyk(0%, 5.2%, 34.5%, 1.2%)
CIE-LABlab(93.95, -6.18, 37.43)
CIE-LCHlch(93.95, 37.93, 99.38°)
OKLaboklab(94.57% -0.0154 0.0928)
OKLCHoklch(94.57% 0.094 99.4)
XYZxyz(77.8040, 85.1471, 47.9265)
Luminance0.8515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEFA5 #A5B2FC
analogous
#FCC4A5 #FCEFA5 #DEFCA5
triadic
#FCEFA5 #A5FCEF #EFA5FC
tetradic
#FCEFA5 #A5FCC4 #A5B2FC #FCA5DE
square
#FCEFA5 #A5FCC4 #A5B2FC #FCA5DE
split-complementary
#FCEFA5 #A5DEFC #C4A5FC
monochromatic
#F8DA2F #FAE46A #FCEFA5 #FEFAE0 #FEFAE1

Accessibility & contrast

On white

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

On black

18.03
#FCEFA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEFA5
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEFA5#FFFFFF#000000##000000
##FCEFA51.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcefa5;
/* rgb */ color: rgb(252, 239, 165);
/* oklch */ color: oklch(94.6% 0.094 99.4);
Tailwind
colors: {
  custom: {
    50: '#fef4c0',
    500: '#fcefa5',
    950: '#000000',
  },
}
SCSS
$custom: #fcefa5;
$custom-light: #fef4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#fcefa5",
  "rgb": {
    "r": 252,
    "g": 239,
    "b": 165
  },
  "hsl": {
    "h": 51.034,
    "s": 93.548,
    "l": 81.765
  },
  "oklch": {
    "l": 0.94567,
    "c": 0.09402,
    "h": 99.4
  },
  "luminance": 0.85145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCEFA5

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

Preview Lab → · Contrast checker → · Palette generator →

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