#F8F780#F8F780

#F8F780 is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.3% C 0.142 H 108.4°. Best body text is #000000 at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#F8F780
RGBrgb(248, 247, 128)
HSLhsl(60, 90%, 74%)
HSVhsv(60, 48%, 97%)
CMYKcmyk(0%, 0.4%, 48.4%, 2.7%)
CIE-LABlab(95.18, -15.39, 56.78)
CIE-LCHlch(95.18, 58.83, 105.17°)
OKLaboklab(95.31% -0.0447 0.1344)
OKLCHoklch(95.31% 0.142 108.4)
XYZxyz(75.8702, 88.0384, 33.4143)
Luminance0.8804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F780 #8081F8
analogous
#F8BB80 #F8F780 #BDF880
triadic
#F8F780 #80F8F7 #F780F8
tetradic
#F8F780 #80F8BB #8081F8 #F880BD
square
#F8F780 #80F8BB #8081F8 #F880BD
split-complementary
#F8F780 #80BDF8 #BB80F8
monochromatic
#F0EE0D #F5F346 #F8F780 #FBFBBA #FDFDE2

Accessibility & contrast

On white

1.13
#F8F780 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.61
#F8F780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F780
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F780#FFFFFF#000000##000000
##F8F7801.001.1318.6118.61
#FFFFFF1.131.0021.0021.00
#00000018.6121.001.001.00
##00000018.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF75
Deuteranopia (green-blind)
#FFF386
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f780;
/* rgb */ color: rgb(248, 247, 128);
/* oklch */ color: oklch(95.3% 0.142 108.4);
Tailwind
colors: {
  custom: {
    50: '#fdf9a7',
    500: '#f8f780',
    950: '#000000',
  },
}
SCSS
$custom: #f8f780;
$custom-light: #fdf9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f780",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 128
  },
  "hsl": {
    "h": 59.5,
    "s": 89.552,
    "l": 73.725
  },
  "oklch": {
    "l": 0.95307,
    "c": 0.14164,
    "h": 108.4
  },
  "luminance": 0.88036
}

Semantic roles & 50–950 ramp

primary
#F8F780
secondary
#4749D5
accent
#02E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F780

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

Preview Lab → · Contrast checker → · Palette generator →

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