#FCFC8A#FCFC8A

#FCFC8A is a very light, vivid yellow. Relative luminance 0.922; OKLCH L 96.8% C 0.137 H 108.7°. Best body text is #000000 at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#FCFC8A
RGBrgb(252, 252, 138)
HSLhsl(60, 95%, 76%)
HSVhsv(60, 45%, 99%)
CMYKcmyk(0%, 0%, 45.2%, 1.2%)
CIE-LABlab(96.88, -15.38, 54.26)
CIE-LCHlch(96.88, 56.40, 105.82°)
OKLaboklab(96.78% -0.0439 0.1296)
OKLCHoklch(96.78% 0.137 108.7)
XYZxyz(79.5443, 92.1530, 37.6369)
Luminance0.9215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCFC8A #8A8AFC
analogous
#FCC38A #FCFC8A #C3FC8A
triadic
#FCFC8A #8AFCFC #FC8AFC
tetradic
#FCFC8A #8AFCC3 #8A8AFC #FC8AC3
square
#FCFC8A #8AFCC3 #8A8AFC #FC8AC3
split-complementary
#FCFC8A #8AC3FC #C38AFC
monochromatic
#F9F913 #FAFA4E #FCFC8A #FEFEC6 #FEFEE1

Accessibility & contrast

On white

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

On black

19.43
#FCFC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCFC8A
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCFC8A#FFFFFF#000000##000000
##FCFC8A1.001.0819.4319.43
#FFFFFF1.081.0021.0021.00
#00000019.4321.001.001.00
##00000019.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF480
Deuteranopia (green-blind)
#FFF88F
Tritanopia (blue-blind)
#FFF0E1
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fcfc8a;
/* rgb */ color: rgb(252, 252, 138);
/* oklch */ color: oklch(96.8% 0.137 108.7);
Tailwind
colors: {
  custom: {
    50: '#fffdae',
    500: '#fcfc8a',
    950: '#000000',
  },
}
SCSS
$custom: #fcfc8a;
$custom-light: #fffdae;
$custom-dark: #000000;
JSON
{
  "hex": "#fcfc8a",
  "rgb": {
    "r": 252,
    "g": 252,
    "b": 138
  },
  "hsl": {
    "h": 60,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.96777,
    "c": 0.13684,
    "h": 108.7
  },
  "luminance": 0.92151
}

Semantic roles & 50–950 ramp

primary
#FCFC8A
secondary
#4F4FDC
accent
#00E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCFC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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