#FFFC8D#FFFC8D

#FFFC8D is a very light, vivid yellow. Relative luminance 0.928; OKLCH L 97.1% C 0.134 H 107.3°. Best body text is #000000 at 19.56:1 contrast (WCAG AA passes).

Color values

HEX#FFFC8D
RGBrgb(255, 252, 141)
HSLhsl(58, 100%, 78%)
HSVhsv(58, 45%, 100%)
CMYKcmyk(0%, 1.2%, 44.7%, 0%)
CIE-LABlab(97.15, -13.94, 53.23)
CIE-LCHlch(97.15, 55.03, 104.67°)
OKLaboklab(97.06% -0.0397 0.1275)
OKLCHoklch(97.06% 0.134 107.3)
XYZxyz(80.8598, 92.8059, 38.8480)
Luminance0.9280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC8D #8D90FF
analogous
#FFC38D #FFFC8D #C9FF8D
triadic
#FFFC8D #8DFFFC #FC8DFF
tetradic
#FFFC8D #8DFFC3 #8D90FF #FF8DC9
square
#FFFC8D #8DFFC3 #8D90FF #FF8DC9
split-complementary
#FFFC8D #8DC9FF #C38DFF
monochromatic
#FFF913 #FFFA50 #FFFC8D #FFFECA #FFFEE0

Accessibility & contrast

On white

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

On black

19.56
#FFFC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC8D
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC8D#FFFFFF#000000##000000
##FFFC8D1.001.0719.5619.56
#FFFFFF1.071.0021.0021.00
#00000019.5621.001.001.00
##00000019.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF484
Deuteranopia (green-blind)
#FFF992
Tritanopia (blue-blind)
#FFEFE2
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffc8d;
/* rgb */ color: rgb(255, 252, 141);
/* oklch */ color: oklch(97.1% 0.134 107.3);
Tailwind
colors: {
  custom: {
    50: '#fffdb0',
    500: '#fffc8d',
    950: '#000000',
  },
}
SCSS
$custom: #fffc8d;
$custom-light: #fffdb0;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc8d",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 141
  },
  "hsl": {
    "h": 58.421,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.97056,
    "c": 0.13354,
    "h": 107.3
  },
  "luminance": 0.92804
}

Semantic roles & 50–950 ramp

primary
#FFFC8D
secondary
#5054E0
accent
#06E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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