#FCF978#FCF978

#FCF978 is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 95.9% C 0.151 H 107.7°. Best body text is #000000 at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#FCF978
RGBrgb(252, 249, 120)
HSLhsl(59, 96%, 73%)
HSVhsv(59, 52%, 99%)
CMYKcmyk(0%, 1.2%, 52.4%, 1.2%)
CIE-LABlab(95.92, -15.46, 61.36)
CIE-LCHlch(95.92, 63.27, 104.14°)
OKLaboklab(95.94% -0.0459 0.1436)
OKLCHoklch(95.94% 0.151 107.7)
XYZxyz(77.4128, 89.8050, 31.0219)
Luminance0.8980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF978 #787BFC
analogous
#FCB778 #FCF978 #BDFC78
triadic
#FCF978 #78FCF9 #F978FC
tetradic
#FCF978 #78FCB7 #787BFC #FC78BD
square
#FCF978 #78FCB7 #787BFC #FC78BD
split-complementary
#FCF978 #78BDFC #B778FC
monochromatic
#F4EF05 #FBF63C #FCF978 #FDFCB4 #FEFEE1

Accessibility & contrast

On white

1.11
#FCF978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.96
#FCF978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF978
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF978#FFFFFF#000000##000000
##FCF9781.001.1118.9618.96
#FFFFFF1.111.0021.0021.00
#00000018.9621.001.001.00
##00000018.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06B
Deuteranopia (green-blind)
#FFF67F
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fcf978;
/* rgb */ color: rgb(252, 249, 120);
/* oklch */ color: oklch(95.9% 0.151 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffba2',
    500: '#fcf978',
    950: '#000000',
  },
}
SCSS
$custom: #fcf978;
$custom-light: #fffba2;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf978",
  "rgb": {
    "r": 252,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 58.636,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.95943,
    "c": 0.15071,
    "h": 107.7
  },
  "luminance": 0.89803
}

Semantic roles & 50–950 ramp

primary
#FCF978
secondary
#3F43D9
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF978

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

Preview Lab → · Contrast checker → · Palette generator →

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