#FFFC9A#FFFC9A

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

Color values

HEX#FFFC9A
RGBrgb(255, 252, 154)
HSLhsl(58, 100%, 80%)
HSVhsv(58, 40%, 100%)
CMYKcmyk(0%, 1.2%, 39.6%, 0%)
CIE-LABlab(97.32, -12.66, 47.23)
CIE-LCHlch(97.32, 48.90, 105.01°)
OKLaboklab(97.24% -0.0349 0.1148)
OKLCHoklch(97.24% 0.12 106.9)
XYZxyz(81.8844, 93.2157, 44.2445)
Luminance0.9321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC9A #9A9DFF
analogous
#FFCA9A #FFFC9A #CFFF9A
triadic
#FFFC9A #9AFFFC #FC9AFF
tetradic
#FFFC9A #9AFFCA #9A9DFF #FF9ACF
square
#FFFC9A #9AFFCA #9A9DFF #FF9ACF
split-complementary
#FFFC9A #9ACFFF #CA9AFF
monochromatic
#FFF820 #FFFA5D #FFFC9A #FFFED7 #FFFEE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFC9A#FFFFFF#000000##000000
##FFFC9A1.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)
#FFF592
Deuteranopia (green-blind)
#FFF99E
Tritanopia (blue-blind)
#FFF0E4
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffc9a;
/* rgb */ color: rgb(255, 252, 154);
/* oklch */ color: oklch(97.2% 0.120 106.9);
Tailwind
colors: {
  custom: {
    50: '#fffdb9',
    500: '#fffc9a',
    950: '#000000',
  },
}
SCSS
$custom: #fffc9a;
$custom-light: #fffdb9;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc9a",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 154
  },
  "hsl": {
    "h": 58.218,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.97243,
    "c": 0.12002,
    "h": 106.9
  },
  "luminance": 0.93214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFC9A

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

Preview Lab → · Contrast checker → · Palette generator →

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