#FCF579#FCF579

#FCF579 is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 95.1% C 0.146 H 105.9°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#FCF579
RGBrgb(252, 245, 121)
HSLhsl(57, 96%, 73%)
HSVhsv(57, 52%, 99%)
CMYKcmyk(0%, 2.8%, 52%, 1.2%)
CIE-LABlab(94.90, -13.43, 59.73)
CIE-LCHlch(94.90, 61.22, 102.67°)
OKLaboklab(95.14% -0.04 0.1401)
OKLCHoklch(95.14% 0.146 105.9)
XYZxyz(76.2506, 87.3830, 30.9354)
Luminance0.8738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF579 #7980FC
analogous
#FCB379 #FCF579 #C1FC79
triadic
#FCF579 #79FCF5 #F579FC
tetradic
#FCF579 #79FCB3 #7980FC #FC79C1
square
#FCF579 #79FCB3 #7980FC #FC79C1
split-complementary
#FCF579 #79C1FC #B379FC
monochromatic
#F5E805 #FBF13D #FCF579 #FDF9B5 #FEFDE1

Accessibility & contrast

On white

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

On black

18.48
#FCF579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF579
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF579#FFFFFF#000000##000000
##FCF5791.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6D
Deuteranopia (green-blind)
#FFF37F
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf579;
/* rgb */ color: rgb(252, 245, 121);
/* oklch */ color: oklch(95.1% 0.146 105.9);
Tailwind
colors: {
  custom: {
    50: '#fff8a3',
    500: '#fcf579',
    950: '#000000',
  },
}
SCSS
$custom: #fcf579;
$custom-light: #fff8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf579",
  "rgb": {
    "r": 252,
    "g": 245,
    "b": 121
  },
  "hsl": {
    "h": 56.794,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.95139,
    "c": 0.14573,
    "h": 105.9
  },
  "luminance": 0.87381
}

Semantic roles & 50–950 ramp

primary
#FCF579
secondary
#4048D9
accent
#0CE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF579

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

Preview Lab → · Contrast checker → · Palette generator →

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