#FCE56F#FCE56F

#FCE56F is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.8% C 0.140 H 98.4°. Best body text is #000000 at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#FCE56F
RGBrgb(252, 229, 111)
HSLhsl(50, 96%, 71%)
HSVhsv(50, 56%, 99%)
CMYKcmyk(0%, 9.1%, 56%, 1.2%)
CIE-LABlab(90.73, -6.28, 59.41)
CIE-LCHlch(90.73, 59.75, 96.03°)
OKLaboklab(91.79% -0.0205 0.1384)
OKLCHoklch(91.79% 0.14 98.4)
XYZxyz(71.0361, 77.8847, 26.3273)
Luminance0.7788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE56F #6F86FC
analogous
#FC9E6F #FCE56F #CCFC6F
triadic
#FCE56F #6FFCE5 #E56FFC
tetradic
#FCE56F #6FFC9E #6F86FC #FC6FCC
square
#FCE56F #6FFC9E #6F86FC #FC6FCC
split-complementary
#FCE56F #6FCCFC #9E6FFC
monochromatic
#ECC605 #FBDA33 #FCE56F #FDF0AB #FEFAE1

Accessibility & contrast

On white

1.27
#FCE56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.58
#FCE56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE56F
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE56F#FFFFFF#000000##000000
##FCE56F1.001.2716.5816.58
#FFFFFF1.271.0021.0021.00
#00000016.5821.001.001.00
##00000016.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E063
Deuteranopia (green-blind)
#FFE874
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #fce56f;
/* rgb */ color: rgb(252, 229, 111);
/* oklch */ color: oklch(91.8% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#ffec9c',
    500: '#fce56f',
    950: '#000000',
  },
}
SCSS
$custom: #fce56f;
$custom-light: #ffec9c;
$custom-dark: #000000;
JSON
{
  "hex": "#fce56f",
  "rgb": {
    "r": 252,
    "g": 229,
    "b": 111
  },
  "hsl": {
    "h": 50.213,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91793,
    "c": 0.13996,
    "h": 98.4
  },
  "luminance": 0.77882
}

Semantic roles & 50–950 ramp

primary
#FCE56F
secondary
#3752D8
accent
#25E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FCE56F

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

Preview Lab → · Contrast checker → · Palette generator →

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