#FCE778#FCE778

#FCE778 is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 92.3% C 0.134 H 98.8°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#FCE778
RGBrgb(252, 231, 120)
HSLhsl(50, 96%, 73%)
HSVhsv(50, 52%, 99%)
CMYKcmyk(0%, 8.3%, 52.4%, 1.2%)
CIE-LABlab(91.33, -6.59, 55.99)
CIE-LCHlch(91.33, 56.38, 96.71°)
OKLaboklab(92.3% -0.0204 0.1319)
OKLCHoklch(92.3% 0.134 98.8)
XYZxyz(72.1134, 79.2061, 29.2554)
Luminance0.7920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE778 #788DFC
analogous
#FCA578 #FCE778 #CFFC78
triadic
#FCE778 #78FCE7 #E778FC
tetradic
#FCE778 #78FCA5 #788DFC #FC78CF
square
#FCE778 #78FCA5 #788DFC #FC78CF
split-complementary
#FCE778 #78CFFC #A578FC
monochromatic
#F4CE05 #FBDC3C #FCE778 #FDF2B4 #FEFAE1

Accessibility & contrast

On white

1.25
#FCE778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.84
#FCE778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE778
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE778#FFFFFF#000000##000000
##FCE7781.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E26E
Deuteranopia (green-blind)
#FFEA7D
Tritanopia (blue-blind)
#FFD9CE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #fce778;
/* rgb */ color: rgb(252, 231, 120);
/* oklch */ color: oklch(92.3% 0.134 98.8);
Tailwind
colors: {
  custom: {
    50: '#ffeea2',
    500: '#fce778',
    950: '#000000',
  },
}
SCSS
$custom: #fce778;
$custom-light: #ffeea2;
$custom-dark: #000000;
JSON
{
  "hex": "#fce778",
  "rgb": {
    "r": 252,
    "g": 231,
    "b": 120
  },
  "hsl": {
    "h": 50.455,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92299,
    "c": 0.1335,
    "h": 98.8
  },
  "luminance": 0.79203
}

Semantic roles & 50–950 ramp

primary
#FCE778
secondary
#3F58D9
accent
#25E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FCE778

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

Preview Lab → · Contrast checker → · Palette generator →

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