#FFFC5D#FFFC5D

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

Color values

HEX#FFFC5D
RGBrgb(255, 252, 93)
HSLhsl(59, 100%, 68%)
HSVhsv(59, 64%, 100%)
CMYKcmyk(0%, 1.2%, 63.5%, 0%)
CIE-LABlab(96.69, -17.54, 73.58)
CIE-LCHlch(96.69, 75.64, 103.41°)
OKLaboklab(96.54% -0.0547 0.1662)
OKLCHoklch(96.54% 0.175 108.2)
XYZxyz(78.0288, 91.6735, 23.9383)
Luminance0.9167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC5D #5D60FF
analogous
#FFAB5D #FFFC5D #B1FF5D
triadic
#FFFC5D #5DFFFC #FC5DFF
tetradic
#FFFC5D #5DFFAB #5D60FF #FF5DB1
square
#FFFC5D #5DFFAB #5D60FF #FF5DB1
split-complementary
#FFFC5D #5DB1FF #AB5DFF
monochromatic
#E2DD00 #FFFB20 #FFFC5D #FFFD9A #FFFED7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFC5D#FFFFFF#000000##000000
##FFFC5D1.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)
#FFF248
Deuteranopia (green-blind)
#FFF867
Tritanopia (blue-blind)
#FFEDDB
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffc5d;
/* rgb */ color: rgb(255, 252, 93);
/* oklch */ color: oklch(96.5% 0.175 108.2);
Tailwind
colors: {
  custom: {
    50: '#fffd92',
    500: '#fffc5d',
    950: '#000000',
  },
}
SCSS
$custom: #fffc5d;
$custom-light: #fffd92;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc5d",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 93
  },
  "hsl": {
    "h": 58.889,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.96539,
    "c": 0.17497,
    "h": 108.2
  },
  "luminance": 0.91671
}

Semantic roles & 50–950 ramp

primary
#FFFC5D
secondary
#272BD9
accent
#04E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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