#FCFF51#FCFF51

#FCFF51 is a very light, vivid yellow. Relative luminance 0.928; OKLCH L 96.8% C 0.186 H 110.4°. Best body text is #000000 at 19.56:1 contrast (WCAG AA passes).

Color values

HEX#FCFF51
RGBrgb(252, 255, 81)
HSLhsl(61, 100%, 66%)
HSVhsv(61, 68%, 100%)
CMYKcmyk(1.2%, 0%, 68.2%, 0%)
CIE-LABlab(97.15, -20.82, 78.41)
CIE-LCHlch(97.15, 81.12, 104.87°)
OKLaboklab(96.83% -0.0649 0.1746)
OKLCHoklch(96.83% 0.186 110.4)
XYZxyz(77.3927, 92.8116, 21.6206)
Luminance0.9281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCFF51 #5451FF
analogous
#FFAB51 #FCFF51 #A5FF51
triadic
#FCFF51 #51FCFF #FF51FC
tetradic
#FCFF51 #51FFAB #5451FF #FF51A5
square
#FCFF51 #51FFAB #5451FF #FF51A5
split-complementary
#FCFF51 #51A5FF #AB51FF
monochromatic
#D2D600 #FBFF14 #FCFF51 #FDFF8E #FEFFCB

Accessibility & contrast

On white

1.07
#FCFF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.56
#FCFF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCFF51
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCFF51#FFFFFF#000000##000000
##FCFF511.001.0719.5619.56
#FFFFFF1.071.0021.0021.00
#00000019.5621.001.001.00
##00000019.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF434
Deuteranopia (green-blind)
#FFF95E
Tritanopia (blue-blind)
#FFEFDD
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fcff51;
/* rgb */ color: rgb(252, 255, 81);
/* oklch */ color: oklch(96.8% 0.186 110.4);
Tailwind
colors: {
  custom: {
    50: '#ffff8c',
    500: '#fcff51',
    950: '#000000',
  },
}
SCSS
$custom: #fcff51;
$custom-light: #ffff8c;
$custom-dark: #000000;
JSON
{
  "hex": "#fcff51",
  "rgb": {
    "r": 252,
    "g": 255,
    "b": 81
  },
  "hsl": {
    "h": 61.034,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.96828,
    "c": 0.18629,
    "h": 110.4
  },
  "luminance": 0.9281
}

Semantic roles & 50–950 ramp

primary
#FCFF51
secondary
#2825D0
accent
#00E604
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FCFF51

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

Preview Lab → · Contrast checker → · Palette generator →

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