#FCF778#FCF778

#FCF778 is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.5% C 0.149 H 106.8°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#FCF778
RGBrgb(252, 247, 120)
HSLhsl(58, 96%, 73%)
HSVhsv(58, 52%, 99%)
CMYKcmyk(0%, 2%, 52.4%, 1.2%)
CIE-LABlab(95.40, -14.48, 60.76)
CIE-LCHlch(95.40, 62.46, 103.41°)
OKLaboklab(95.54% -0.0431 0.1423)
OKLCHoklch(95.54% 0.149 106.8)
XYZxyz(76.7979, 88.5752, 30.8169)
Luminance0.8857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF778 #787DFC
analogous
#FCB578 #FCF778 #BFFC78
triadic
#FCF778 #78FCF7 #F778FC
tetradic
#FCF778 #78FCB5 #787DFC #FC78BF
square
#FCF778 #78FCB5 #787DFC #FC78BF
split-complementary
#FCF778 #78BFFC #B578FC
monochromatic
#F4EB05 #FBF33C #FCF778 #FDFBB4 #FEFDE1

Accessibility & contrast

On white

1.12
#FCF778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.71
#FCF778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF778
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF778#FFFFFF#000000##000000
##FCF7781.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6C
Deuteranopia (green-blind)
#FFF47E
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf778;
/* rgb */ color: rgb(252, 247, 120);
/* oklch */ color: oklch(95.5% 0.149 106.8);
Tailwind
colors: {
  custom: {
    50: '#fff9a2',
    500: '#fcf778',
    950: '#000000',
  },
}
SCSS
$custom: #fcf778;
$custom-light: #fff9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf778",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 120
  },
  "hsl": {
    "h": 57.727,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.95535,
    "c": 0.14865,
    "h": 106.8
  },
  "luminance": 0.88573
}

Semantic roles & 50–950 ramp

primary
#FCF778
secondary
#3F45D9
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF778

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

Preview Lab → · Contrast checker → · Palette generator →

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