#FFFC78#FFFC78

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

Color values

HEX#FFFC78
RGBrgb(255, 252, 120)
HSLhsl(59, 100%, 74%)
HSVhsv(59, 53%, 100%)
CMYKcmyk(0%, 1.2%, 52.9%, 0%)
CIE-LABlab(96.92, -15.73, 62.57)
CIE-LCHlch(96.92, 64.52, 104.11°)
OKLaboklab(96.8% -0.0468 0.1461)
OKLCHoklch(96.8% 0.153 107.8)
XYZxyz(79.4427, 92.2390, 31.3848)
Luminance0.9224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC78 #787BFF
analogous
#FFB878 #FFFC78 #BEFF78
triadic
#FFFC78 #78FFFC #FC78FF
tetradic
#FFFC78 #78FFB8 #787BFF #FF78BE
square
#FFFC78 #78FFB8 #787BFF #FF78BE
split-complementary
#FFFC78 #78BEFF #B878FF
monochromatic
#FDF700 #FFFB3B #FFFC78 #FFFDB5 #FFFEE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFC78#FFFFFF#000000##000000
##FFFC781.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)
#FFF36B
Deuteranopia (green-blind)
#FFF97F
Tritanopia (blue-blind)
#FFEEDF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffc78;
/* rgb */ color: rgb(255, 252, 120);
/* oklch */ color: oklch(96.8% 0.153 107.8);
Tailwind
colors: {
  custom: {
    50: '#fffda3',
    500: '#fffc78',
    950: '#000000',
  },
}
SCSS
$custom: #fffc78;
$custom-light: #fffda3;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc78",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 120
  },
  "hsl": {
    "h": 58.667,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.96798,
    "c": 0.15344,
    "h": 107.8
  },
  "luminance": 0.92237
}

Semantic roles & 50–950 ramp

primary
#FFFC78
secondary
#3E42DD
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFC78

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

Preview Lab → · Contrast checker → · Palette generator →

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