#FCFC8F#FCFC8F

#FCFC8F is a very light, vivid yellow. Relative luminance 0.923; OKLCH L 96.8% C 0.132 H 108.6°. Best body text is #000000 at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#FCFC8F
RGBrgb(252, 252, 143)
HSLhsl(60, 95%, 77%)
HSVhsv(60, 43%, 99%)
CMYKcmyk(0%, 0%, 43.3%, 1.2%)
CIE-LABlab(96.94, -14.91, 51.98)
CIE-LCHlch(96.94, 54.08, 106.00°)
OKLaboklab(96.85% -0.0421 0.1249)
OKLCHoklch(96.85% 0.132 108.6)
XYZxyz(79.9147, 92.3012, 39.5874)
Luminance0.9230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCFC8F #8F8FFC
analogous
#FCC68F #FCFC8F #C6FC8F
triadic
#FCFC8F #8FFCFC #FC8FFC
tetradic
#FCFC8F #8FFCC6 #8F8FFC #FC8FC6
square
#FCFC8F #8FFCC6 #8F8FFC #FC8FC6
split-complementary
#FCFC8F #8FC6FC #C68FFC
monochromatic
#F9F918 #FAFA53 #FCFC8F #FEFECB #FEFEE1

Accessibility & contrast

On white

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

On black

19.46
#FCFC8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCFC8F
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCFC8F#FFFFFF#000000##000000
##FCFC8F1.001.0819.4619.46
#FFFFFF1.081.0021.0021.00
#00000019.4621.001.001.00
##00000019.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF486
Deuteranopia (green-blind)
#FFF894
Tritanopia (blue-blind)
#FFF0E2
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fcfc8f;
/* rgb */ color: rgb(252, 252, 143);
/* oklch */ color: oklch(96.8% 0.132 108.6);
Tailwind
colors: {
  custom: {
    50: '#fffdb2',
    500: '#fcfc8f',
    950: '#000000',
  },
}
SCSS
$custom: #fcfc8f;
$custom-light: #fffdb2;
$custom-dark: #000000;
JSON
{
  "hex": "#fcfc8f",
  "rgb": {
    "r": 252,
    "g": 252,
    "b": 143
  },
  "hsl": {
    "h": 60,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.96845,
    "c": 0.1318,
    "h": 108.6
  },
  "luminance": 0.92299
}

Semantic roles & 50–950 ramp

primary
#FCFC8F
secondary
#5353DC
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCFC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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