#FFF78D#FFF78D

#FFF78D is a very light, vivid yellow. Relative luminance 0.897; OKLCH L 96.0% C 0.128 H 104.7°. Best body text is #000000 at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#FFF78D
RGBrgb(255, 247, 141)
HSLhsl(56, 100%, 78%)
HSVhsv(56, 45%, 100%)
CMYKcmyk(0%, 3.1%, 44.7%, 0%)
CIE-LABlab(95.88, -11.50, 51.67)
CIE-LCHlch(95.88, 52.93, 102.54°)
OKLaboklab(96.04% -0.0326 0.124)
OKLCHoklch(96.04% 0.128 104.7)
XYZxyz(79.3102, 89.7068, 38.3314)
Luminance0.8971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF78D #8D95FF
analogous
#FFBE8D #FFF78D #CEFF8D
triadic
#FFF78D #8DFFF7 #F78DFF
tetradic
#FFF78D #8DFFBE #8D95FF #FF8DCE
square
#FFF78D #8DFFBE #8D95FF #FF8DCE
split-complementary
#FFF78D #8DCEFF #BE8DFF
monochromatic
#FFEE13 #FFF350 #FFF78D #FFFBCA #FFFDE0

Accessibility & contrast

On white

1.11
#FFF78D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.94
#FFF78D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF78D
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF78D#FFFFFF#000000##000000
##FFF78D1.001.1118.9418.94
#FFFFFF1.111.0021.0021.00
#00000018.9421.001.001.00
##00000018.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF084
Deuteranopia (green-blind)
#FFF692
Tritanopia (blue-blind)
#FFEADE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff78d;
/* rgb */ color: rgb(255, 247, 141);
/* oklch */ color: oklch(96.0% 0.128 104.7);
Tailwind
colors: {
  custom: {
    50: '#fff9b0',
    500: '#fff78d',
    950: '#000000',
  },
}
SCSS
$custom: #fff78d;
$custom-light: #fff9b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fff78d",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 141
  },
  "hsl": {
    "h": 55.789,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.96044,
    "c": 0.12826,
    "h": 104.7
  },
  "luminance": 0.89705
}

Semantic roles & 50–950 ramp

primary
#FFF78D
secondary
#505AE0
accent
#10E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581

Preview Lab

Preview with #FFF78D

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

Preview Lab → · Contrast checker → · Palette generator →

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