#FCEFB2#FCEFB2

#FCEFB2 is a very light, moderate yellow. Relative luminance 0.856; OKLCH L 94.8% C 0.079 H 97.5°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#FCEFB2
RGBrgb(252, 239, 178)
HSLhsl(49, 93%, 84%)
HSVhsv(49, 29%, 99%)
CMYKcmyk(0%, 5.2%, 29.4%, 1.2%)
CIE-LABlab(94.16, -4.62, 31.16)
CIE-LCHlch(94.16, 31.50, 98.44°)
OKLaboklab(94.81% -0.0103 0.0783)
OKLCHoklch(94.81% 0.079 97.5)
XYZxyz(79.0479, 85.6447, 54.4778)
Luminance0.8564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEFB2 #B2BFFC
analogous
#FCCAB2 #FCEFB2 #E4FCB2
triadic
#FCEFB2 #B2FCEF #EFB2FC
tetradic
#FCEFB2 #B2FCCA #B2BFFC #FCB2E4
square
#FCEFB2 #B2FCCA #B2BFFC #FCB2E4
split-complementary
#FCEFB2 #B2E4FC #CAB2FC
monochromatic
#F7D73C #FAE377 #FCEFB2 #FEF9E2 #FEF9E2

Accessibility & contrast

On white

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

On black

18.13
#FCEFB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEFB2
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEFB2#FFFFFF#000000##000000
##FCEFB21.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEBAE
Deuteranopia (green-blind)
#FFF0B4
Tritanopia (blue-blind)
#FFE6DF
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcefb2;
/* rgb */ color: rgb(252, 239, 178);
/* oklch */ color: oklch(94.8% 0.079 97.5);
Tailwind
colors: {
  custom: {
    50: '#fef4c9',
    500: '#fcefb2',
    950: '#000000',
  },
}
SCSS
$custom: #fcefb2;
$custom-light: #fef4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#fcefb2",
  "rgb": {
    "r": 252,
    "g": 239,
    "b": 178
  },
  "hsl": {
    "h": 49.459,
    "s": 92.5,
    "l": 84.314
  },
  "oklch": {
    "l": 0.94806,
    "c": 0.07895,
    "h": 97.5
  },
  "luminance": 0.85643
}

Semantic roles & 50–950 ramp

primary
#FCEFB2
secondary
#7185E1
accent
#28E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FCEFB2

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

Preview Lab → · Contrast checker → · Palette generator →

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