#FFFC9D#FFFC9D

#FFFC9D is a very light, moderate yellow. Relative luminance 0.933; OKLCH L 97.3% C 0.117 H 106.8°. Best body text is #000000 at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#FFFC9D
RGBrgb(255, 252, 157)
HSLhsl(58, 100%, 81%)
HSVhsv(58, 38%, 100%)
CMYKcmyk(0%, 1.2%, 38.4%, 0%)
CIE-LABlab(97.36, -12.35, 45.83)
CIE-LCHlch(97.36, 47.47, 105.08°)
OKLaboklab(97.29% -0.0338 0.1118)
OKLCHoklch(97.29% 0.117 106.8)
XYZxyz(82.1374, 93.3169, 45.5769)
Luminance0.9332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC9D #9DA0FF
analogous
#FFCB9D #FFFC9D #D1FF9D
triadic
#FFFC9D #9DFFFC #FC9DFF
tetradic
#FFFC9D #9DFFCB #9DA0FF #FF9DD1
square
#FFFC9D #9DFFCB #9DA0FF #FF9DD1
split-complementary
#FFFC9D #9DD1FF #CB9DFF
monochromatic
#FFF823 #FFFA60 #FFFC9D #FFFEDA #FFFEE0

Accessibility & contrast

On white

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

On black

19.66
#FFFC9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC9D
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC9D#FFFFFF#000000##000000
##FFFC9D1.001.0719.6619.66
#FFFFFF1.071.0021.0021.00
#00000019.6621.001.001.00
##00000019.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF596
Deuteranopia (green-blind)
#FFF9A1
Tritanopia (blue-blind)
#FFF1E5
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffc9d;
/* rgb */ color: rgb(255, 252, 157);
/* oklch */ color: oklch(97.3% 0.117 106.8);
Tailwind
colors: {
  custom: {
    50: '#fffdbb',
    500: '#fffc9d',
    950: '#000000',
  },
}
SCSS
$custom: #fffc9d;
$custom-light: #fffdbb;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc9d",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 157
  },
  "hsl": {
    "h": 58.163,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.97289,
    "c": 0.11679,
    "h": 106.8
  },
  "luminance": 0.93315
}

Semantic roles & 50–950 ramp

primary
#FFFC9D
secondary
#5E62E3
accent
#07E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFFC9D

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

Preview Lab → · Contrast checker → · Palette generator →

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