#FCF96E#FCF96E

#FCF96E 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.91:1 contrast (WCAG AA passes).

Color values

HEX#FCF96E
RGBrgb(252, 249, 110)
HSLhsl(59, 96%, 71%)
HSVhsv(59, 56%, 99%)
CMYKcmyk(0%, 1.2%, 56.3%, 1.2%)
CIE-LABlab(95.82, -16.20, 65.62)
CIE-LCHlch(95.82, 67.59, 103.87°)
OKLaboklab(95.84% -0.049 0.1516)
OKLCHoklch(95.84% 0.159 107.9)
XYZxyz(76.8373, 89.5748, 27.9909)
Luminance0.8957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF96E #6E71FC
analogous
#FCB26E #FCF96E #B8FC6E
triadic
#FCF96E #6EFCF9 #F96EFC
tetradic
#FCF96E #6EFCB2 #6E71FC #FC6EB8
square
#FCF96E #6EFCB2 #6E71FC #FC6EB8
split-complementary
#FCF96E #6EB8FC #B26EFC
monochromatic
#EBE605 #FBF732 #FCF96E #FDFBAA #FEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF96E#FFFFFF#000000##000000
##FCF96E1.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)
#FFF05F
Deuteranopia (green-blind)
#FFF576
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fcf96e;
/* rgb */ color: rgb(252, 249, 110);
/* oklch */ color: oklch(95.8% 0.159 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffb9c',
    500: '#fcf96e',
    950: '#000000',
  },
}
SCSS
$custom: #fcf96e;
$custom-light: #fffb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf96e",
  "rgb": {
    "r": 252,
    "g": 249,
    "b": 110
  },
  "hsl": {
    "h": 58.732,
    "s": 95.946,
    "l": 70.98
  },
  "oklch": {
    "l": 0.95836,
    "c": 0.15937,
    "h": 107.9
  },
  "luminance": 0.89573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF96E

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

Preview Lab → · Contrast checker → · Palette generator →

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