#FCF96F#FCF96F

#FCF96F is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.8% C 0.159 H 107.9°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#FCF96F
RGBrgb(252, 249, 111)
HSLhsl(59, 96%, 71%)
HSVhsv(59, 56%, 99%)
CMYKcmyk(0%, 1.2%, 56%, 1.2%)
CIE-LABlab(95.83, -16.13, 65.20)
CIE-LCHlch(95.83, 67.17, 103.90°)
OKLaboklab(95.85% -0.0487 0.1509)
OKLCHoklch(95.85% 0.159 107.9)
XYZxyz(76.8920, 89.5967, 28.2793)
Luminance0.8960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF96F #6F72FC
analogous
#FCB26F #FCF96F #B8FC6F
triadic
#FCF96F #6FFCF9 #F96FFC
tetradic
#FCF96F #6FFCB2 #6F72FC #FC6FB8
square
#FCF96F #6FFCB2 #6F72FC #FC6FB8
split-complementary
#FCF96F #6FB8FC #B26FFC
monochromatic
#ECE705 #FBF733 #FCF96F #FDFBAB #FEFEE1

Accessibility & contrast

On white

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

On black

18.92
#FCF96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF96F
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF96F#FFFFFF#000000##000000
##FCF96F1.001.1118.9218.92
#FFFFFF1.111.0021.0021.00
#00000018.9221.001.001.00
##00000018.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF060
Deuteranopia (green-blind)
#FFF577
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fcf96f;
/* rgb */ color: rgb(252, 249, 111);
/* oklch */ color: oklch(95.8% 0.159 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffb9d',
    500: '#fcf96f',
    950: '#000000',
  },
}
SCSS
$custom: #fcf96f;
$custom-light: #fffb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf96f",
  "rgb": {
    "r": 252,
    "g": 249,
    "b": 111
  },
  "hsl": {
    "h": 58.723,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.95847,
    "c": 0.15853,
    "h": 107.9
  },
  "luminance": 0.89595
}

Semantic roles & 50–950 ramp

primary
#FCF96F
secondary
#373BD8
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF96F

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

Preview Lab → · Contrast checker → · Palette generator →

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