#FFFC4F#FFFC4F

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

Color values

HEX#FFFC4F
RGBrgb(255, 252, 79)
HSLhsl(59, 100%, 65%)
HSVhsv(59, 69%, 100%)
CMYKcmyk(0%, 1.2%, 69%, 0%)
CIE-LABlab(96.59, -18.28, 78.64)
CIE-LCHlch(96.59, 80.73, 103.08°)
OKLaboklab(96.44% -0.0581 0.1747)
OKLCHoklch(96.44% 0.184 108.4)
XYZxyz(77.4645, 91.4478, 20.9663)
Luminance0.9144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC4F #4F52FF
analogous
#FFA44F #FFFC4F #AAFF4F
triadic
#FFFC4F #4FFFFC #FC4FFF
tetradic
#FFFC4F #4FFFA4 #4F52FF #FF4FAA
square
#FFFC4F #4FFFA4 #4F52FF #FF4FAA
split-complementary
#FFFC4F #4FAAFF #A44FFF
monochromatic
#D4D000 #FFFB12 #FFFC4F #FFFD8C #FFFEC9

Accessibility & contrast

On white

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

On black

19.29
#FFFC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC4F
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC4F#FFFFFF#000000##000000
##FFFC4F1.001.0919.2919.29
#FFFFFF1.091.0021.0021.00
#00000019.2921.001.001.00
##00000019.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffc4f;
/* rgb */ color: rgb(255, 252, 79);
/* oklch */ color: oklch(96.4% 0.184 108.4);
Tailwind
colors: {
  custom: {
    50: '#fffd8b',
    500: '#fffc4f',
    950: '#000000',
  },
}
SCSS
$custom: #fffc4f;
$custom-light: #fffd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc4f",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 79
  },
  "hsl": {
    "h": 58.977,
    "s": 100,
    "l": 65.49
  },
  "oklch": {
    "l": 0.96436,
    "c": 0.1841,
    "h": 108.4
  },
  "luminance": 0.91445
}

Semantic roles & 50–950 ramp

primary
#FFFC4F
secondary
#2427CE
accent
#04E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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