#FCF79D#FCF79D

#FCF79D is a very light, moderate yellow. Relative luminance 0.897; OKLCH L 96.0% C 0.111 H 105.6°. Best body text is #000000 at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#FCF79D
RGBrgb(252, 247, 157)
HSLhsl(57, 94%, 80%)
HSVhsv(57, 38%, 99%)
CMYKcmyk(0%, 2%, 37.7%, 1.2%)
CIE-LABlab(95.85, -11.04, 43.86)
CIE-LCHlch(95.85, 45.23, 104.13°)
OKLaboklab(96.04% -0.0299 0.1073)
OKLCHoklch(96.04% 0.111 105.6)
XYZxyz(79.4926, 89.6531, 45.0090)
Luminance0.8965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF79D #9DA2FC
analogous
#FCC79D #FCF79D #D1FC9D
triadic
#FCF79D #9DFCF7 #F79DFC
tetradic
#FCF79D #9DFCC7 #9DA2FC #FC9DD1
square
#FCF79D #9DFCC7 #9DA2FC #FC9DD1
split-complementary
#FCF79D #9DD1FC #C79DFC
monochromatic
#F8ED26 #FAF262 #FCF79D #FEFCD8 #FEFDE1

Accessibility & contrast

On white

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

On black

18.93
#FCF79D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF79D
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF79D#FFFFFF#000000##000000
##FCF79D1.001.1118.9318.93
#FFFFFF1.111.0021.0021.00
#00000018.9321.001.001.00
##00000018.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf79d;
/* rgb */ color: rgb(252, 247, 157);
/* oklch */ color: oklch(96.0% 0.111 105.6);
Tailwind
colors: {
  custom: {
    50: '#fef9bb',
    500: '#fcf79d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf79d;
$custom-light: #fef9bb;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf79d",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 157
  },
  "hsl": {
    "h": 56.842,
    "s": 94.059,
    "l": 80.196
  },
  "oklch": {
    "l": 0.96039,
    "c": 0.11142,
    "h": 105.6
  },
  "luminance": 0.89651
}

Semantic roles & 50–950 ramp

primary
#FCF79D
secondary
#5F66DE
accent
#0CE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FCF79D

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

Preview Lab → · Contrast checker → · Palette generator →

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