#FFFC51#FFFC51

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

Color values

HEX#FFFC51
RGBrgb(255, 252, 81)
HSLhsl(59, 100%, 66%)
HSVhsv(59, 68%, 100%)
CMYKcmyk(0%, 1.2%, 68.2%, 0%)
CIE-LABlab(96.61, -18.18, 77.95)
CIE-LCHlch(96.61, 80.04, 103.13°)
OKLaboklab(96.45% -0.0577 0.1735)
OKLCHoklch(96.45% 0.183 108.4)
XYZxyz(77.5384, 91.4773, 21.3554)
Luminance0.9147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC51 #5154FF
analogous
#FFA551 #FFFC51 #ABFF51
triadic
#FFFC51 #51FFFC #FC51FF
tetradic
#FFFC51 #51FFA5 #5154FF #FF51AB
square
#FFFC51 #51FFA5 #5154FF #FF51AB
split-complementary
#FFFC51 #51ABFF #A551FF
monochromatic
#D6D200 #FFFB14 #FFFC51 #FFFD8E #FFFECB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFC51#FFFFFF#000000##000000
##FFFC511.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)
#FFF235
Deuteranopia (green-blind)
#FFF85D
Tritanopia (blue-blind)
#FFECDA
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffc51;
/* rgb */ color: rgb(255, 252, 81);
/* oklch */ color: oklch(96.4% 0.183 108.4);
Tailwind
colors: {
  custom: {
    50: '#fffd8c',
    500: '#fffc51',
    950: '#000000',
  },
}
SCSS
$custom: #fffc51;
$custom-light: #fffd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc51",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 81
  },
  "hsl": {
    "h": 58.966,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.96449,
    "c": 0.18288,
    "h": 108.4
  },
  "luminance": 0.91475
}

Semantic roles & 50–950 ramp

primary
#FFFC51
secondary
#2528D0
accent
#04E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFC51

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

Preview Lab → · Contrast checker → · Palette generator →

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