#FCF96D#FCF96D

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

Color values

HEX#FCF96D
RGBrgb(252, 249, 109)
HSLhsl(59, 96%, 71%)
HSVhsv(59, 57%, 99%)
CMYKcmyk(0%, 1.2%, 56.7%, 1.2%)
CIE-LABlab(95.81, -16.27, 66.04)
CIE-LCHlch(95.81, 68.02, 103.84°)
OKLaboklab(95.83% -0.0493 0.1524)
OKLCHoklch(95.83% 0.16 107.9)
XYZxyz(76.7832, 89.5531, 27.7058)
Luminance0.8955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF96D #6D70FC
analogous
#FCB16D #FCF96D #B7FC6D
triadic
#FCF96D #6DFCF9 #F96DFC
tetradic
#FCF96D #6DFCB1 #6D70FC #FC6DB7
square
#FCF96D #6DFCB1 #6D70FC #FC6DB7
split-complementary
#FCF96D #6DB7FC #B16DFC
monochromatic
#EAE505 #FBF731 #FCF96D #FDFBA9 #FEFEE1

Accessibility & contrast

On white

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

On black

18.91
#FCF96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF96D
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF96D#FFFFFF#000000##000000
##FCF96D1.001.1118.9118.91
#FFFFFF1.111.0021.0021.00
#00000018.9121.001.001.00
##00000018.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf96d;
/* rgb */ color: rgb(252, 249, 109);
/* oklch */ color: oklch(95.8% 0.160 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffb9b',
    500: '#fcf96d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf96d;
$custom-light: #fffb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf96d",
  "rgb": {
    "r": 252,
    "g": 249,
    "b": 109
  },
  "hsl": {
    "h": 58.741,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.95826,
    "c": 0.16019,
    "h": 107.9
  },
  "luminance": 0.89551
}

Semantic roles & 50–950 ramp

primary
#FCF96D
secondary
#3639D7
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF96D

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

Preview Lab → · Contrast checker → · Palette generator →

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