#FFFF78#FFFF78

#FFFF78 is a very light, vivid yellow. Relative luminance 0.941; OKLCH L 97.4% C 0.157 H 109.0°. Best body text is #000000 at 19.83:1 contrast (WCAG AA passes).

Color values

HEX#FFFF78
RGBrgb(255, 255, 120)
HSLhsl(60, 100%, 74%)
HSVhsv(60, 53%, 100%)
CMYKcmyk(0%, 0%, 52.9%, 0%)
CIE-LABlab(97.69, -17.18, 63.46)
CIE-LCHlch(97.69, 65.74, 105.15°)
OKLaboklab(97.41% -0.0509 0.148)
OKLCHoklch(97.41% 0.157 109)
XYZxyz(80.3922, 94.1381, 31.7013)
Luminance0.9414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF78 #7878FF
analogous
#FFBB78 #FFFF78 #BBFF78
triadic
#FFFF78 #78FFFF #FF78FF
tetradic
#FFFF78 #78FFBB #7878FF #FF78BB
square
#FFFF78 #78FFBB #7878FF #FF78BB
split-complementary
#FFFF78 #78BBFF #BB78FF
monochromatic
#FDFD00 #FFFF3B #FFFF78 #FFFFB5 #FFFFE0

Accessibility & contrast

On white

1.06
#FFFF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.83
#FFFF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF78
19.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF78#FFFFFF#000000##000000
##FFFF781.001.0619.8319.83
#FFFFFF1.061.0021.0021.00
#00000019.8321.001.001.00
##00000019.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF66B
Deuteranopia (green-blind)
#FFFB7F
Tritanopia (blue-blind)
#FFF1E1
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #ffff78;
/* rgb */ color: rgb(255, 255, 120);
/* oklch */ color: oklch(97.4% 0.157 109.0);
Tailwind
colors: {
  custom: {
    50: '#ffffa3',
    500: '#ffff78',
    950: '#000000',
  },
}
SCSS
$custom: #ffff78;
$custom-light: #ffffa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff78",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 120
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.97411,
    "c": 0.15656,
    "h": 109
  },
  "luminance": 0.94136
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFF78

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

Preview Lab → · Contrast checker → · Palette generator →

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