#FCE56D#FCE56D

#FCE56D is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.8% C 0.142 H 98.6°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#FCE56D
RGBrgb(252, 229, 109)
HSLhsl(50, 96%, 71%)
HSVhsv(50, 57%, 99%)
CMYKcmyk(0%, 9.1%, 56.7%, 1.2%)
CIE-LABlab(90.71, -6.43, 60.29)
CIE-LCHlch(90.71, 60.63, 96.09°)
OKLaboklab(91.77% -0.0212 0.1401)
OKLCHoklch(91.77% 0.142 98.6)
XYZxyz(70.9272, 77.8412, 25.7538)
Luminance0.7784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE56D #6D84FC
analogous
#FC9D6D #FCE56D #CBFC6D
triadic
#FCE56D #6DFCE5 #E56DFC
tetradic
#FCE56D #6DFC9D #6D84FC #FC6DCB
square
#FCE56D #6DFC9D #6D84FC #FC6DCB
split-complementary
#FCE56D #6DCBFC #9D6DFC
monochromatic
#EAC505 #FBDA31 #FCE56D #FDF0A9 #FEFAE1

Accessibility & contrast

On white

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

On black

16.57
#FCE56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE56D
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE56D#FFFFFF#000000##000000
##FCE56D1.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E061
Deuteranopia (green-blind)
#FFE873
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #fce56d;
/* rgb */ color: rgb(252, 229, 109);
/* oklch */ color: oklch(91.8% 0.142 98.6);
Tailwind
colors: {
  custom: {
    50: '#ffec9a',
    500: '#fce56d',
    950: '#000000',
  },
}
SCSS
$custom: #fce56d;
$custom-light: #ffec9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fce56d",
  "rgb": {
    "r": 252,
    "g": 229,
    "b": 109
  },
  "hsl": {
    "h": 50.35,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91771,
    "c": 0.14169,
    "h": 98.6
  },
  "luminance": 0.77838
}

Semantic roles & 50–950 ramp

primary
#FCE56D
secondary
#3650D7
accent
#25E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FCE56D

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

Preview Lab → · Contrast checker → · Palette generator →

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