#FCF96C#FCF96C

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

Color values

HEX#FCF96C
RGBrgb(252, 249, 108)
HSLhsl(59, 96%, 71%)
HSVhsv(59, 57%, 99%)
CMYKcmyk(0%, 1.2%, 57.1%, 1.2%)
CIE-LABlab(95.80, -16.34, 66.46)
CIE-LCHlch(95.80, 68.44, 103.82°)
OKLaboklab(95.82% -0.0496 0.1532)
OKLCHoklch(95.82% 0.161 107.9)
XYZxyz(76.7296, 89.5317, 27.4239)
Luminance0.8953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF96C #6C6FFC
analogous
#FCB16C #FCF96C #B7FC6C
triadic
#FCF96C #6CFCF9 #F96CFC
tetradic
#FCF96C #6CFCB1 #6C6FFC #FC6CB7
square
#FCF96C #6CFCB1 #6C6FFC #FC6CB7
split-complementary
#FCF96C #6CB7FC #B16CFC
monochromatic
#E9E405 #FBF730 #FCF96C #FDFBA8 #FEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF96C#FFFFFF#000000##000000
##FCF96C1.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)
#FFF05D
Deuteranopia (green-blind)
#FFF574
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fcf96c;
/* rgb */ color: rgb(252, 249, 108);
/* oklch */ color: oklch(95.8% 0.161 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffb9b',
    500: '#fcf96c',
    950: '#000000',
  },
}
SCSS
$custom: #fcf96c;
$custom-light: #fffb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf96c",
  "rgb": {
    "r": 252,
    "g": 249,
    "b": 108
  },
  "hsl": {
    "h": 58.75,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.95816,
    "c": 0.16102,
    "h": 107.9
  },
  "luminance": 0.8953
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF96C

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

Preview Lab → · Contrast checker → · Palette generator →

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