#FCEFA2#FCEFA2

#FCEFA2 is a very light, moderate yellow. Relative luminance 0.850; OKLCH L 94.5% C 0.097 H 99.8°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#FCEFA2
RGBrgb(252, 239, 162)
HSLhsl(51, 94%, 81%)
HSVhsv(51, 36%, 99%)
CMYKcmyk(0%, 5.2%, 35.7%, 1.2%)
CIE-LABlab(93.90, -6.52, 38.86)
CIE-LCHlch(93.90, 39.41, 99.53°)
OKLaboklab(94.52% -0.0166 0.096)
OKLCHoklch(94.52% 0.097 99.8)
XYZxyz(77.5341, 85.0392, 46.5053)
Luminance0.8504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEFA2 #A2AFFC
analogous
#FCC2A2 #FCEFA2 #DCFCA2
triadic
#FCEFA2 #A2FCEF #EFA2FC
tetradic
#FCEFA2 #A2FCC2 #A2AFFC #FCA2DC
square
#FCEFA2 #A2FCC2 #A2AFFC #FCA2DC
split-complementary
#FCEFA2 #A2DCFC #C2A2FC
monochromatic
#F8DB2B #FAE567 #FCEFA2 #FEF9DD #FEFAE1

Accessibility & contrast

On white

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

On black

18.01
#FCEFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEFA2
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEFA2#FFFFFF#000000##000000
##FCEFA21.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEA9C
Deuteranopia (green-blind)
#FFF0A5
Tritanopia (blue-blind)
#FFE5DB
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fcefa2;
/* rgb */ color: rgb(252, 239, 162);
/* oklch */ color: oklch(94.5% 0.097 99.8);
Tailwind
colors: {
  custom: {
    50: '#fef4be',
    500: '#fcefa2',
    950: '#000000',
  },
}
SCSS
$custom: #fcefa2;
$custom-light: #fef4be;
$custom-dark: #000000;
JSON
{
  "hex": "#fcefa2",
  "rgb": {
    "r": 252,
    "g": 239,
    "b": 162
  },
  "hsl": {
    "h": 51.333,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.94515,
    "c": 0.09742,
    "h": 99.8
  },
  "luminance": 0.85037
}

Semantic roles & 50–950 ramp

primary
#FCEFA2
secondary
#6375DF
accent
#21E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FCEFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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