#FCF498#FCF498

#FCF498 is a very light, moderate yellow. Relative luminance 0.877; OKLCH L 95.4% C 0.114 H 104.0°. Best body text is #000000 at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#FCF498
RGBrgb(252, 244, 152)
HSLhsl(55, 94%, 79%)
HSVhsv(55, 40%, 99%)
CMYKcmyk(0%, 3.2%, 39.7%, 1.2%)
CIE-LABlab(95.02, -10.09, 45.25)
CIE-LCHlch(95.02, 46.36, 102.57°)
OKLaboklab(95.36% -0.0275 0.1103)
OKLCHoklch(95.36% 0.114 104)
XYZxyz(78.1644, 87.6658, 42.5034)
Luminance0.8766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF498 #98A0FC
analogous
#FCC298 #FCF498 #D2FC98
triadic
#FCF498 #98FCF4 #F498FC
tetradic
#FCF498 #98FCC2 #98A0FC #FC98D2
square
#FCF498 #98FCC2 #98A0FC #FC98D2
split-complementary
#FCF498 #98D2FC #C298FC
monochromatic
#F9E721 #FAEE5D #FCF498 #FEFAD3 #FEFCE1

Accessibility & contrast

On white

1.13
#FCF498 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.53
#FCF498 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF498
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF498#FFFFFF#000000##000000
##FCF4981.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE91
Deuteranopia (green-blind)
#FFF39C
Tritanopia (blue-blind)
#FFE9DD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf498;
/* rgb */ color: rgb(252, 244, 152);
/* oklch */ color: oklch(95.4% 0.114 104.0);
Tailwind
colors: {
  custom: {
    50: '#fff7b7',
    500: '#fcf498',
    950: '#000000',
  },
}
SCSS
$custom: #fcf498;
$custom-light: #fff7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf498",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 152
  },
  "hsl": {
    "h": 55.2,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.95355,
    "c": 0.11364,
    "h": 104
  },
  "luminance": 0.87664
}

Semantic roles & 50–950 ramp

primary
#FCF498
secondary
#5B65DD
accent
#12E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF498

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

Preview Lab → · Contrast checker → · Palette generator →

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