#FCFC78#FCFC78

#FCFC78 is a very light, vivid yellow. Relative luminance 0.917; OKLCH L 96.6% C 0.154 H 109.0°. Best body text is #000000 at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#FCFC78
RGBrgb(252, 252, 120)
HSLhsl(60, 96%, 73%)
HSVhsv(60, 52%, 99%)
CMYKcmyk(0%, 0%, 52.4%, 1.2%)
CIE-LABlab(96.69, -16.91, 62.25)
CIE-LCHlch(96.69, 64.50, 105.20°)
OKLaboklab(96.56% -0.05 0.1455)
OKLCHoklch(96.56% 0.154 109)
XYZxyz(78.3474, 91.6743, 31.3334)
Luminance0.9167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCFC78 #7878FC
analogous
#FCBA78 #FCFC78 #BAFC78
triadic
#FCFC78 #78FCFC #FC78FC
tetradic
#FCFC78 #78FCBA #7878FC #FC78BA
square
#FCFC78 #78FCBA #7878FC #FC78BA
split-complementary
#FCFC78 #78BAFC #BA78FC
monochromatic
#F4F405 #FBFB3C #FCFC78 #FDFDB4 #FEFEE1

Accessibility & contrast

On white

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

On black

19.33
#FCFC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCFC78
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCFC78#FFFFFF#000000##000000
##FCFC781.001.0919.3319.33
#FFFFFF1.091.0021.0021.00
#00000019.3321.001.001.00
##00000019.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF36B
Deuteranopia (green-blind)
#FFF87F
Tritanopia (blue-blind)
#FFEEDF
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fcfc78;
/* rgb */ color: rgb(252, 252, 120);
/* oklch */ color: oklch(96.6% 0.154 109.0);
Tailwind
colors: {
  custom: {
    50: '#fffda3',
    500: '#fcfc78',
    950: '#000000',
  },
}
SCSS
$custom: #fcfc78;
$custom-light: #fffda3;
$custom-dark: #000000;
JSON
{
  "hex": "#fcfc78",
  "rgb": {
    "r": 252,
    "g": 252,
    "b": 120
  },
  "hsl": {
    "h": 60,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.96558,
    "c": 0.15383,
    "h": 109
  },
  "luminance": 0.91672
}

Semantic roles & 50–950 ramp

primary
#FCFC78
secondary
#3F3FD9
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCFC78

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

Preview Lab → · Contrast checker → · Palette generator →

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