#FCEFB7#FCEFB7

#FCEFB7 is a very light, moderate yellow. Relative luminance 0.858; OKLCH L 94.9% C 0.073 H 96.6°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#FCEFB7
RGBrgb(252, 239, 183)
HSLhsl(49, 92%, 85%)
HSVhsv(49, 27%, 99%)
CMYKcmyk(0%, 5.2%, 27.4%, 1.2%)
CIE-LABlab(94.25, -3.99, 28.73)
CIE-LCHlch(94.25, 29.01, 97.90°)
OKLaboklab(94.9% -0.0083 0.0725)
OKLCHoklch(94.9% 0.073 96.6)
XYZxyz(79.5591, 85.8491, 57.1701)
Luminance0.8585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEFB7 #B7C4FC
analogous
#FCCCB7 #FCEFB7 #E6FCB7
triadic
#FCEFB7 #B7FCEF #EFB7FC
tetradic
#FCEFB7 #B7FCCC #B7C4FC #FCB7E6
square
#FCEFB7 #B7FCCC #B7C4FC #FCB7E6
split-complementary
#FCEFB7 #B7E6FC #CCB7FC
monochromatic
#F7D541 #FAE27C #FCEFB7 #FEF8E2 #FEF8E2

Accessibility & contrast

On white

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

On black

18.17
#FCEFB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEFB7
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEFB7#FFFFFF#000000##000000
##FCEFB71.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAECB3
Deuteranopia (green-blind)
#FEF1B9
Tritanopia (blue-blind)
#FFE7E0
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcefb7;
/* rgb */ color: rgb(252, 239, 183);
/* oklch */ color: oklch(94.9% 0.073 96.6);
Tailwind
colors: {
  custom: {
    50: '#fef4cd',
    500: '#fcefb7',
    950: '#000000',
  },
}
SCSS
$custom: #fcefb7;
$custom-light: #fef4cd;
$custom-dark: #000000;
JSON
{
  "hex": "#fcefb7",
  "rgb": {
    "r": 252,
    "g": 239,
    "b": 183
  },
  "hsl": {
    "h": 48.696,
    "s": 92,
    "l": 85.294
  },
  "oklch": {
    "l": 0.94904,
    "c": 0.07302,
    "h": 96.6
  },
  "luminance": 0.85847
}

Semantic roles & 50–950 ramp

primary
#FCEFB7
secondary
#768AE1
accent
#2BE600
background
#FFFFFE
surface
#FFFEFA
border
#D7D6D3
text
#181713
muted
#868583

Preview Lab

Preview with #FCEFB7

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

Preview Lab → · Contrast checker → · Palette generator →

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