#FCDC78#FCDC78

#FCDC78 is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 90.1% C 0.125 H 92.0°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#FCDC78
RGBrgb(252, 220, 120)
HSLhsl(45, 96%, 73%)
HSVhsv(45, 52%, 99%)
CMYKcmyk(0%, 12.7%, 52.4%, 1.2%)
CIE-LABlab(88.56, -1.04, 52.70)
CIE-LCHlch(88.56, 52.71, 91.13°)
OKLaboklab(90.11% -0.0044 0.1247)
OKLCHoklch(90.11% 0.125 92)
XYZxyz(69.1309, 73.2411, 28.2612)
Luminance0.7324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCDC78 #7898FC
analogous
#FC9A78 #FCDC78 #DAFC78
triadic
#FCDC78 #78FCDC #DC78FC
tetradic
#FCDC78 #78FC9A #7898FC #FC78DA
square
#FCDC78 #78FC9A #7898FC #FC78DA
split-complementary
#FCDC78 #78DAFC #9A78FC
monochromatic
#F4BA05 #FBCC3C #FCDC78 #FDECB4 #FEF7E1

Accessibility & contrast

On white

1.34
#FCDC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.65
#FCDC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCDC78
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCDC78#FFFFFF#000000##000000
##FCDC781.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD96F
Deuteranopia (green-blind)
#F7E27C
Tritanopia (blue-blind)
#FFCEC5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #fcdc78;
/* rgb */ color: rgb(252, 220, 120);
/* oklch */ color: oklch(90.1% 0.125 92.0);
Tailwind
colors: {
  custom: {
    50: '#ffe6a1',
    500: '#fcdc78',
    950: '#000000',
  },
}
SCSS
$custom: #fcdc78;
$custom-light: #ffe6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcdc78",
  "rgb": {
    "r": 252,
    "g": 220,
    "b": 120
  },
  "hsl": {
    "h": 45.455,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90113,
    "c": 0.12482,
    "h": 92
  },
  "luminance": 0.73238
}

Semantic roles & 50–950 ramp

primary
#FCDC78
secondary
#3F64D9
accent
#38E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #FCDC78

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

Preview Lab → · Contrast checker → · Palette generator →

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