#F8F779#F8F779

#F8F779 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.2% C 0.148 H 108.5°. Best body text is #000000 at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#F8F779
RGBrgb(248, 247, 121)
HSLhsl(60, 90%, 72%)
HSVhsv(60, 51%, 97%)
CMYKcmyk(0%, 0.4%, 51.2%, 2.7%)
CIE-LABlab(95.10, -15.98, 59.88)
CIE-LCHlch(95.10, 61.98, 104.94°)
OKLaboklab(95.22% -0.047 0.1405)
OKLCHoklch(95.22% 0.148 108.5)
XYZxyz(75.4252, 87.8604, 31.0710)
Luminance0.8786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F779 #797AF8
analogous
#F8B879 #F8F779 #B9F879
triadic
#F8F779 #79F8F7 #F779F8
tetradic
#F8F779 #79F8B8 #797AF8 #F879B9
square
#F8F779 #79F8B8 #797AF8 #F879B9
split-complementary
#F8F779 #79B9F8 #B879F8
monochromatic
#EAE90C #F5F43F #F8F779 #FBFAB3 #FDFDE2

Accessibility & contrast

On white

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

On black

18.57
#F8F779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F779
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F779#FFFFFF#000000##000000
##F8F7791.001.1318.5718.57
#FFFFFF1.131.0021.0021.00
#00000018.5721.001.001.00
##00000018.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6D
Deuteranopia (green-blind)
#FFF380
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f779;
/* rgb */ color: rgb(248, 247, 121);
/* oklch */ color: oklch(95.2% 0.148 108.5);
Tailwind
colors: {
  custom: {
    50: '#fdf9a3',
    500: '#f8f779',
    950: '#000000',
  },
}
SCSS
$custom: #f8f779;
$custom-light: #fdf9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f779",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 121
  },
  "hsl": {
    "h": 59.528,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.95223,
    "c": 0.1482,
    "h": 108.5
  },
  "luminance": 0.87858
}

Semantic roles & 50–950 ramp

primary
#F8F779
secondary
#4142D4
accent
#02E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F779

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

Preview Lab → · Contrast checker → · Palette generator →

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