#FCFF97#FCFF97

#FCFF97 is a very light, vivid yellow. Relative luminance 0.945; OKLCH L 97.6% C 0.127 H 110.0°. Best body text is #000000 at 19.89:1 contrast (WCAG AA passes).

Color values

HEX#FCFF97
RGBrgb(252, 255, 151)
HSLhsl(62, 100%, 80%)
HSVhsv(62, 41%, 100%)
CMYKcmyk(1.2%, 0%, 40.8%, 0%)
CIE-LABlab(97.81, -15.57, 49.26)
CIE-LCHlch(97.81, 51.66, 107.55°)
OKLaboklab(97.57% -0.0433 0.1193)
OKLCHoklch(97.57% 0.127 110)
XYZxyz(81.4920, 94.4514, 43.2102)
Luminance0.9445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCFF97 #9A97FF
analogous
#FFCE97 #FCFF97 #C8FF97
triadic
#FCFF97 #97FCFF #FF97FC
tetradic
#FCFF97 #97FFCE #9A97FF #FF97C8
square
#FCFF97 #97FFCE #9A97FF #FF97C8
split-complementary
#FCFF97 #97C8FF #CE97FF
monochromatic
#F8FF1D #FAFF5A #FCFF97 #FEFFD4 #FEFFE0

Accessibility & contrast

On white

1.06
#FCFF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.89
#FCFF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCFF97
19.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCFF97#FFFFFF#000000##000000
##FCFF971.001.0619.8919.89
#FFFFFF1.061.0021.0021.00
#00000019.8921.001.001.00
##00000019.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF78F
Deuteranopia (green-blind)
#FFFA9C
Tritanopia (blue-blind)
#FFF3E6
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fcff97;
/* rgb */ color: rgb(252, 255, 151);
/* oklch */ color: oklch(97.6% 0.127 110.0);
Tailwind
colors: {
  custom: {
    50: '#ffffb7',
    500: '#fcff97',
    950: '#000000',
  },
}
SCSS
$custom: #fcff97;
$custom-light: #ffffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fcff97",
  "rgb": {
    "r": 252,
    "g": 255,
    "b": 151
  },
  "hsl": {
    "h": 61.731,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.9757,
    "c": 0.1269,
    "h": 110
  },
  "luminance": 0.9445
}

Semantic roles & 50–950 ramp

primary
#FCFF97
secondary
#5D59E2
accent
#00E607
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCFF97

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

Preview Lab → · Contrast checker → · Palette generator →

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