#FCF79E#FCF79E

#FCF79E is a very light, moderate yellow. Relative luminance 0.897; OKLCH L 96.1% C 0.110 H 105.5°. Best body text is #000000 at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#FCF79E
RGBrgb(252, 247, 158)
HSLhsl(57, 94%, 80%)
HSVhsv(57, 37%, 99%)
CMYKcmyk(0%, 2%, 37.3%, 1.2%)
CIE-LABlab(95.87, -10.93, 43.39)
CIE-LCHlch(95.87, 44.75, 104.14°)
OKLaboklab(96.06% -0.0295 0.1063)
OKLCHoklch(96.06% 0.11 105.5)
XYZxyz(79.5783, 89.6874, 45.4605)
Luminance0.8969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF79E #9EA3FC
analogous
#FCC89E #FCF79E #D2FC9E
triadic
#FCF79E #9EFCF7 #F79EFC
tetradic
#FCF79E #9EFCC8 #9EA3FC #FC9ED2
square
#FCF79E #9EFCC8 #9EA3FC #FC9ED2
split-complementary
#FCF79E #9ED2FC #C89EFC
monochromatic
#F8ED27 #FAF263 #FCF79E #FEFCD9 #FEFDE1

Accessibility & contrast

On white

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

On black

18.94
#FCF79E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF79E
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF79E#FFFFFF#000000##000000
##FCF79E1.001.1118.9418.94
#FFFFFF1.111.0021.0021.00
#00000018.9421.001.001.00
##00000018.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF197
Deuteranopia (green-blind)
#FFF5A2
Tritanopia (blue-blind)
#FFECE1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fcf79e;
/* rgb */ color: rgb(252, 247, 158);
/* oklch */ color: oklch(96.1% 0.110 105.5);
Tailwind
colors: {
  custom: {
    50: '#fef9bb',
    500: '#fcf79e',
    950: '#000000',
  },
}
SCSS
$custom: #fcf79e;
$custom-light: #fef9bb;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf79e",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 158
  },
  "hsl": {
    "h": 56.809,
    "s": 94,
    "l": 80.392
  },
  "oklch": {
    "l": 0.96055,
    "c": 0.11031,
    "h": 105.5
  },
  "luminance": 0.89686
}

Semantic roles & 50–950 ramp

primary
#FCF79E
secondary
#6067DE
accent
#0CE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FCF79E

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

Preview Lab → · Contrast checker → · Palette generator →

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