#FFFC5C#FFFC5C

#FFFC5C is a very light, vivid yellow. Relative luminance 0.917; OKLCH L 96.5% C 0.176 H 108.2°. Best body text is #000000 at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#FFFC5C
RGBrgb(255, 252, 92)
HSLhsl(59, 100%, 68%)
HSVhsv(59, 64%, 100%)
CMYKcmyk(0%, 1.2%, 63.9%, 0%)
CIE-LABlab(96.68, -17.60, 73.96)
CIE-LCHlch(96.68, 76.02, 103.39°)
OKLaboklab(96.53% -0.055 0.1668)
OKLCHoklch(96.53% 0.176 108.2)
XYZxyz(77.9848, 91.6559, 23.7065)
Luminance0.9165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC5C #5C5FFF
analogous
#FFAB5C #FFFC5C #B0FF5C
triadic
#FFFC5C #5CFFFC #FC5CFF
tetradic
#FFFC5C #5CFFAB #5C5FFF #FF5CB0
square
#FFFC5C #5CFFAB #5C5FFF #FF5CB0
split-complementary
#FFFC5C #5CB0FF #AB5CFF
monochromatic
#E1DC00 #FFFB1F #FFFC5C #FFFD99 #FFFED6

Accessibility & contrast

On white

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

On black

19.33
#FFFC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC5C
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC5C#FFFFFF#000000##000000
##FFFC5C1.001.0919.3319.33
#FFFFFF1.091.0021.0021.00
#00000019.3321.001.001.00
##00000019.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF246
Deuteranopia (green-blind)
#FFF866
Tritanopia (blue-blind)
#FFEDDB
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffc5c;
/* rgb */ color: rgb(255, 252, 92);
/* oklch */ color: oklch(96.5% 0.176 108.2);
Tailwind
colors: {
  custom: {
    50: '#fffd92',
    500: '#fffc5c',
    950: '#000000',
  },
}
SCSS
$custom: #fffc5c;
$custom-light: #fffd92;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc5c",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 92
  },
  "hsl": {
    "h": 58.896,
    "s": 100,
    "l": 68.039
  },
  "oklch": {
    "l": 0.96531,
    "c": 0.17567,
    "h": 108.2
  },
  "luminance": 0.91654
}

Semantic roles & 50–950 ramp

primary
#FFFC5C
secondary
#262AD9
accent
#04E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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