#FCF478#FCF478

#FCF478 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.9% C 0.146 H 105.5°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#FCF478
RGBrgb(252, 244, 120)
HSLhsl(56, 96%, 73%)
HSVhsv(56, 52%, 99%)
CMYKcmyk(0%, 3.2%, 52.4%, 1.2%)
CIE-LABlab(94.63, -13.02, 59.87)
CIE-LCHlch(94.63, 61.27, 102.27°)
OKLaboklab(94.92% -0.0389 0.1403)
OKLCHoklch(94.92% 0.146 105.5)
XYZxyz(75.8879, 86.7552, 30.5136)
Luminance0.8675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF478 #7880FC
analogous
#FCB278 #FCF478 #C2FC78
triadic
#FCF478 #78FCF4 #F478FC
tetradic
#FCF478 #78FCB2 #7880FC #FC78C2
square
#FCF478 #78FCB2 #7880FC #FC78C2
split-complementary
#FCF478 #78C2FC #B278FC
monochromatic
#F4E605 #FBEF3C #FCF478 #FDF9B4 #FEFDE1

Accessibility & contrast

On white

1.14
#FCF478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.35
#FCF478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF478
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF478#FFFFFF#000000##000000
##FCF4781.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6C
Deuteranopia (green-blind)
#FFF27E
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf478;
/* rgb */ color: rgb(252, 244, 120);
/* oklch */ color: oklch(94.9% 0.146 105.5);
Tailwind
colors: {
  custom: {
    50: '#fff7a2',
    500: '#fcf478',
    950: '#000000',
  },
}
SCSS
$custom: #fcf478;
$custom-light: #fff7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf478",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 56.364,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94924,
    "c": 0.14563,
    "h": 105.5
  },
  "luminance": 0.86753
}

Semantic roles & 50–950 ramp

primary
#FCF478
secondary
#3F48D9
accent
#0EE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF478

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

Preview Lab → · Contrast checker → · Palette generator →

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