#FFFC99#FFFC99

#FFFC99 is a very light, vivid yellow. Relative luminance 0.932; OKLCH L 97.2% C 0.121 H 106.9°. Best body text is #000000 at 19.64:1 contrast (WCAG AA passes).

Color values

HEX#FFFC99
RGBrgb(255, 252, 153)
HSLhsl(58, 100%, 80%)
HSVhsv(58, 40%, 100%)
CMYKcmyk(0%, 1.2%, 40%, 0%)
CIE-LABlab(97.30, -12.77, 47.70)
CIE-LCHlch(97.30, 49.38, 104.98°)
OKLaboklab(97.23% -0.0353 0.1158)
OKLCHoklch(97.23% 0.121 106.9)
XYZxyz(81.8015, 93.1826, 43.8077)
Luminance0.9318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC99 #999CFF
analogous
#FFC999 #FFFC99 #CFFF99
triadic
#FFFC99 #99FFFC #FC99FF
tetradic
#FFFC99 #99FFC9 #999CFF #FF99CF
square
#FFFC99 #99FFC9 #999CFF #FF99CF
split-complementary
#FFFC99 #99CFFF #C999FF
monochromatic
#FFF81F #FFFA5C #FFFC99 #FFFED6 #FFFEE0

Accessibility & contrast

On white

1.07
#FFFC99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.64
#FFFC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC99
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC99#FFFFFF#000000##000000
##FFFC991.001.0719.6419.64
#FFFFFF1.071.0021.0021.00
#00000019.6421.001.001.00
##00000019.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF591
Deuteranopia (green-blind)
#FFF99D
Tritanopia (blue-blind)
#FFF0E4
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffc99;
/* rgb */ color: rgb(255, 252, 153);
/* oklch */ color: oklch(97.2% 0.121 106.9);
Tailwind
colors: {
  custom: {
    50: '#fffdb8',
    500: '#fffc99',
    950: '#000000',
  },
}
SCSS
$custom: #fffc99;
$custom-light: #fffdb8;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc99",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 153
  },
  "hsl": {
    "h": 58.235,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.97228,
    "c": 0.1211,
    "h": 106.9
  },
  "luminance": 0.93181
}

Semantic roles & 50–950 ramp

primary
#FFFC99
secondary
#5A5EE2
accent
#07E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFC99

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

Preview Lab → · Contrast checker → · Palette generator →

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