#FCFC5B#FCFC5B

#FCFC5B is a very light, vivid yellow. Relative luminance 0.911; OKLCH L 96.3% C 0.177 H 109.3°. Best body text is #000000 at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#FCFC5B
RGBrgb(252, 252, 91)
HSLhsl(60, 96%, 67%)
HSVhsv(60, 64%, 99%)
CMYKcmyk(0%, 0%, 63.9%, 1.2%)
CIE-LABlab(96.44, -18.86, 74.02)
CIE-LCHlch(96.44, 76.38, 104.29°)
OKLaboklab(96.28% -0.0585 0.1669)
OKLCHoklch(96.28% 0.177 109.3)
XYZxyz(76.8461, 91.0738, 23.4265)
Luminance0.9107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCFC5B #5B5BFC
analogous
#FCAC5B #FCFC5B #ACFC5B
triadic
#FCFC5B #5BFCFC #FC5BFC
tetradic
#FCFC5B #5BFCAC #5B5BFC #FC5BAC
square
#FCFC5B #5BFCAC #5B5BFC #FC5BAC
split-complementary
#FCFC5B #5BACFC #AC5BFC
monochromatic
#D9D904 #FBFB1F #FCFC5B #FDFD97 #FEFED3

Accessibility & contrast

On white

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

On black

19.21
#FCFC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCFC5B
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCFC5B#FFFFFF#000000##000000
##FCFC5B1.001.0919.2119.21
#FFFFFF1.091.0021.0021.00
#00000019.2121.001.001.00
##00000019.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcfc5b;
/* rgb */ color: rgb(252, 252, 91);
/* oklch */ color: oklch(96.3% 0.177 109.3);
Tailwind
colors: {
  custom: {
    50: '#fffd91',
    500: '#fcfc5b',
    950: '#000000',
  },
}
SCSS
$custom: #fcfc5b;
$custom-light: #fffd91;
$custom-dark: #000000;
JSON
{
  "hex": "#fcfc5b",
  "rgb": {
    "r": 252,
    "g": 252,
    "b": 91
  },
  "hsl": {
    "h": 60,
    "s": 96.407,
    "l": 67.255
  },
  "oklch": {
    "l": 0.96282,
    "c": 0.17685,
    "h": 109.3
  },
  "luminance": 0.91072
}

Semantic roles & 50–950 ramp

primary
#FCFC5B
secondary
#2929D2
accent
#00E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FCFC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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