#FFFC4A#FFFC4A

#FFFC4A is a very light, vivid yellow. Relative luminance 0.914; OKLCH L 96.4% C 0.187 H 108.5°. Best body text is #000000 at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#FFFC4A
RGBrgb(255, 252, 74)
HSLhsl(59, 100%, 65%)
HSVhsv(59, 71%, 100%)
CMYKcmyk(0%, 1.2%, 71%, 0%)
CIE-LABlab(96.57, -18.50, 80.31)
CIE-LCHlch(96.57, 82.41, 102.98°)
OKLaboklab(96.4% -0.0592 0.1774)
OKLCHoklch(96.4% 0.187 108.5)
XYZxyz(77.2893, 91.3777, 20.0436)
Luminance0.9137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC4A #4A4DFF
analogous
#FFA24A #FFFC4A #A7FF4A
triadic
#FFFC4A #4AFFFC #FC4AFF
tetradic
#FFFC4A #4AFFA2 #4A4DFF #FF4AA7
square
#FFFC4A #4AFFA2 #4A4DFF #FF4AA7
split-complementary
#FFFC4A #4AA7FF #A24AFF
monochromatic
#CFCB00 #FFFB0D #FFFC4A #FFFD87 #FFFEC4

Accessibility & contrast

On white

1.09
#FFFC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.27
#FFFC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC4A
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC4A#FFFFFF#000000##000000
##FFFC4A1.001.0919.2719.27
#FFFFFF1.091.0021.0021.00
#00000019.2721.001.001.00
##00000019.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF228
Deuteranopia (green-blind)
#FFF857
Tritanopia (blue-blind)
#FFECDA
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffc4a;
/* rgb */ color: rgb(255, 252, 74);
/* oklch */ color: oklch(96.4% 0.187 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffd88',
    500: '#fffc4a',
    950: '#000000',
  },
}
SCSS
$custom: #fffc4a;
$custom-light: #fffd88;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc4a",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 74
  },
  "hsl": {
    "h": 59.006,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.96404,
    "c": 0.18699,
    "h": 108.5
  },
  "luminance": 0.91375
}

Semantic roles & 50–950 ramp

primary
#FFFC4A
secondary
#2426CA
accent
#04E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FFFC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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