#FFFC87#FFFC87

#FFFC87 is a very light, vivid yellow. Relative luminance 0.926; OKLCH L 97.0% C 0.139 H 107.4°. Best body text is #000000 at 19.53:1 contrast (WCAG AA passes).

Color values

HEX#FFFC87
RGBrgb(255, 252, 135)
HSLhsl(59, 100%, 76%)
HSVhsv(59, 47%, 100%)
CMYKcmyk(0%, 1.2%, 47.1%, 0%)
CIE-LABlab(97.08, -14.48, 55.95)
CIE-LCHlch(97.08, 57.80, 104.51°)
OKLaboklab(96.98% -0.0418 0.1331)
OKLCHoklch(96.98% 0.139 107.4)
XYZxyz(80.4254, 92.6321, 36.5602)
Luminance0.9263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC87 #878AFF
analogous
#FFC087 #FFFC87 #C6FF87
triadic
#FFFC87 #87FFFC #FC87FF
tetradic
#FFFC87 #87FFC0 #878AFF #FF87C6
square
#FFFC87 #87FFC0 #878AFF #FF87C6
split-complementary
#FFFC87 #87C6FF #C087FF
monochromatic
#FFF90D #FFFA4A #FFFC87 #FFFEC4 #FFFEE0

Accessibility & contrast

On white

1.08
#FFFC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.53
#FFFC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC87
19.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC87#FFFFFF#000000##000000
##FFFC871.001.0819.5319.53
#FFFFFF1.081.0021.0021.00
#00000019.5321.001.001.00
##00000019.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF47D
Deuteranopia (green-blind)
#FFF98D
Tritanopia (blue-blind)
#FFEFE1
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffc87;
/* rgb */ color: rgb(255, 252, 135);
/* oklch */ color: oklch(97.0% 0.139 107.4);
Tailwind
colors: {
  custom: {
    50: '#fffdac',
    500: '#fffc87',
    950: '#000000',
  },
}
SCSS
$custom: #fffc87;
$custom-light: #fffdac;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc87",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 135
  },
  "hsl": {
    "h": 58.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.96977,
    "c": 0.13947,
    "h": 107.4
  },
  "luminance": 0.9263
}

Semantic roles & 50–950 ramp

primary
#FFFC87
secondary
#4B4FDF
accent
#06E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFFC87

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

Preview Lab → · Contrast checker → · Palette generator →

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