#FCFC8D#FCFC8D

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

Color values

HEX#FCFC8D
RGBrgb(252, 252, 141)
HSLhsl(60, 95%, 77%)
HSVhsv(60, 44%, 99%)
CMYKcmyk(0%, 0%, 44%, 1.2%)
CIE-LABlab(96.92, -15.10, 52.90)
CIE-LCHlch(96.92, 55.01, 105.93°)
OKLaboklab(96.82% -0.0428 0.1268)
OKLCHoklch(96.82% 0.134 108.7)
XYZxyz(79.7645, 92.2411, 38.7966)
Luminance0.9224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCFC8D #8D8DFC
analogous
#FCC58D #FCFC8D #C5FC8D
triadic
#FCFC8D #8DFCFC #FC8DFC
tetradic
#FCFC8D #8DFCC5 #8D8DFC #FC8DC5
square
#FCFC8D #8DFCC5 #8D8DFC #FC8DC5
split-complementary
#FCFC8D #8DC5FC #C58DFC
monochromatic
#F9F916 #FAFA51 #FCFC8D #FEFEC9 #FEFEE1

Accessibility & contrast

On white

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

On black

19.45
#FCFC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCFC8D
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCFC8D#FFFFFF#000000##000000
##FCFC8D1.001.0819.4519.45
#FFFFFF1.081.0021.0021.00
#00000019.4521.001.001.00
##00000019.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcfc8d;
/* rgb */ color: rgb(252, 252, 141);
/* oklch */ color: oklch(96.8% 0.134 108.7);
Tailwind
colors: {
  custom: {
    50: '#fffdb0',
    500: '#fcfc8d',
    950: '#000000',
  },
}
SCSS
$custom: #fcfc8d;
$custom-light: #fffdb0;
$custom-dark: #000000;
JSON
{
  "hex": "#fcfc8d",
  "rgb": {
    "r": 252,
    "g": 252,
    "b": 141
  },
  "hsl": {
    "h": 60,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.96817,
    "c": 0.13383,
    "h": 108.7
  },
  "luminance": 0.92239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCFC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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