#FCF879#FCF879

#FCF879 is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.8% C 0.149 H 107.3°. Best body text is #000000 at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#FCF879
RGBrgb(252, 248, 121)
HSLhsl(58, 96%, 73%)
HSVhsv(58, 52%, 99%)
CMYKcmyk(0%, 1.6%, 52%, 1.2%)
CIE-LABlab(95.67, -14.89, 60.62)
CIE-LCHlch(95.67, 62.42, 103.80°)
OKLaboklab(95.75% -0.0441 0.1421)
OKLCHoklch(95.75% 0.149 107.3)
XYZxyz(77.1655, 89.2129, 31.2404)
Luminance0.8921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF879 #797DFC
analogous
#FCB679 #FCF879 #BEFC79
triadic
#FCF879 #79FCF8 #F879FC
tetradic
#FCF879 #79FCB6 #797DFC #FC79BE
square
#FCF879 #79FCB6 #797DFC #FC79BE
split-complementary
#FCF879 #79BEFC #B679FC
monochromatic
#F5EE05 #FBF53D #FCF879 #FDFBB5 #FEFDE1

Accessibility & contrast

On white

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

On black

18.84
#FCF879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF879
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF879#FFFFFF#000000##000000
##FCF8791.001.1118.8418.84
#FFFFFF1.111.0021.0021.00
#00000018.8421.001.001.00
##00000018.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06D
Deuteranopia (green-blind)
#FFF580
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fcf879;
/* rgb */ color: rgb(252, 248, 121);
/* oklch */ color: oklch(95.8% 0.149 107.3);
Tailwind
colors: {
  custom: {
    50: '#fffaa3',
    500: '#fcf879',
    950: '#000000',
  },
}
SCSS
$custom: #fcf879;
$custom-light: #fffaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf879",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 121
  },
  "hsl": {
    "h": 58.168,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.9575,
    "c": 0.14877,
    "h": 107.3
  },
  "luminance": 0.89211
}

Semantic roles & 50–950 ramp

primary
#FCF879
secondary
#4045D9
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF879

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

Preview Lab → · Contrast checker → · Palette generator →

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