#FFFE78#FFFE78

#FFFE78 is a very light, vivid yellow. Relative luminance 0.935; OKLCH L 97.2% C 0.156 H 108.6°. Best body text is #000000 at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#FFFE78
RGBrgb(255, 254, 120)
HSLhsl(60, 100%, 74%)
HSVhsv(60, 53%, 100%)
CMYKcmyk(0%, 0.4%, 52.9%, 0%)
CIE-LABlab(97.43, -16.70, 63.16)
CIE-LCHlch(97.43, 65.33, 104.81°)
OKLaboklab(97.21% -0.0496 0.1474)
OKLCHoklch(97.21% 0.156 108.6)
XYZxyz(80.0741, 93.5018, 31.5952)
Luminance0.9350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFE78 #7879FF
analogous
#FFBA78 #FFFE78 #BCFF78
triadic
#FFFE78 #78FFFE #FE78FF
tetradic
#FFFE78 #78FFBA #7879FF #FF78BC
square
#FFFE78 #78FFBA #7879FF #FF78BC
split-complementary
#FFFE78 #78BCFF #BA78FF
monochromatic
#FDFB00 #FFFE3B #FFFE78 #FFFEB5 #FFFFE0

Accessibility & contrast

On white

1.07
#FFFE78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.70
#FFFE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFE78
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFE78#FFFFFF#000000##000000
##FFFE781.001.0719.7019.70
#FFFFFF1.071.0021.0021.00
#00000019.7021.001.001.00
##00000019.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF56B
Deuteranopia (green-blind)
#FFFA7F
Tritanopia (blue-blind)
#FFF0E0
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fffe78;
/* rgb */ color: rgb(255, 254, 120);
/* oklch */ color: oklch(97.2% 0.156 108.6);
Tailwind
colors: {
  custom: {
    50: '#fffea3',
    500: '#fffe78',
    950: '#000000',
  },
}
SCSS
$custom: #fffe78;
$custom-light: #fffea3;
$custom-dark: #000000;
JSON
{
  "hex": "#fffe78",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 120
  },
  "hsl": {
    "h": 59.556,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.97207,
    "c": 0.15551,
    "h": 108.6
  },
  "luminance": 0.935
}

Semantic roles & 50–950 ramp

primary
#FFFE78
secondary
#3E3FDD
accent
#02E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFE78

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

Preview Lab → · Contrast checker → · Palette generator →

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