#FFF078#FFF078

#FFF078 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.4% C 0.142 H 102.2°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#FFF078
RGBrgb(255, 240, 120)
HSLhsl(53, 100%, 74%)
HSVhsv(53, 53%, 100%)
CMYKcmyk(0%, 5.9%, 52.9%, 0%)
CIE-LABlab(93.86, -9.86, 59.02)
CIE-LCHlch(93.86, 59.84, 99.48°)
OKLaboklab(94.36% -0.03 0.1385)
OKLCHoklch(94.36% 0.142 102.2)
XYZxyz(75.7926, 84.9389, 30.1681)
Luminance0.8494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF078 #7887FF
analogous
#FFAC78 #FFF078 #CAFF78
triadic
#FFF078 #78FFF0 #F078FF
tetradic
#FFF078 #78FFAC #7887FF #FF78CA
square
#FFF078 #78FFAC #7887FF #FF78CA
split-complementary
#FFF078 #78CAFF #AC78FF
monochromatic
#FDE100 #FFE93B #FFF078 #FFF7B5 #FFFCE0

Accessibility & contrast

On white

1.17
#FFF078 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.99
#FFF078 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF078
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF078#FFFFFF#000000##000000
##FFF0781.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96D
Deuteranopia (green-blind)
#FFF07E
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fff078;
/* rgb */ color: rgb(255, 240, 120);
/* oklch */ color: oklch(94.4% 0.142 102.2);
Tailwind
colors: {
  custom: {
    50: '#fff4a2',
    500: '#fff078',
    950: '#000000',
  },
}
SCSS
$custom: #fff078;
$custom-light: #fff4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fff078",
  "rgb": {
    "r": 255,
    "g": 240,
    "b": 120
  },
  "hsl": {
    "h": 53.333,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94364,
    "c": 0.14169,
    "h": 102.2
  },
  "luminance": 0.84936
}

Semantic roles & 50–950 ramp

primary
#FFF078
secondary
#3E50DD
accent
#1AE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF078

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

Preview Lab → · Contrast checker → · Palette generator →

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