#F8DF79#F8DF79

#F8DF79 is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.4% C 0.125 H 95.9°. Best body text is #000000 at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#F8DF79
RGBrgb(248, 223, 121)
HSLhsl(48, 90%, 72%)
HSVhsv(48, 51%, 97%)
CMYKcmyk(0%, 10.1%, 51.2%, 2.7%)
CIE-LABlab(88.98, -4.09, 52.64)
CIE-LCHlch(88.98, 52.80, 94.44°)
OKLaboklab(90.36% -0.0129 0.1248)
OKLCHoklch(90.36% 0.125 95.9)
XYZxyz(68.5526, 74.1151, 28.7801)
Luminance0.7411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF79 #7992F8
analogous
#F8A079 #F8DF79 #D2F879
triadic
#F8DF79 #79F8DF #DF79F8
tetradic
#F8DF79 #79F8A0 #7992F8 #F879D2
square
#F8DF79 #79F8A0 #7992F8 #F879D2
split-complementary
#F8DF79 #79D2F8 #A079F8
monochromatic
#EABF0C #F5D13F #F8DF79 #FBEDB3 #FDF8E2

Accessibility & contrast

On white

1.33
#F8DF79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.82
#F8DF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DF79
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DF79#FFFFFF#000000##000000
##F8DF791.001.3315.8215.82
#FFFFFF1.331.0021.0021.00
#00000015.8221.001.001.00
##00000015.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB70
Deuteranopia (green-blind)
#F8E37D
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f8df79;
/* rgb */ color: rgb(248, 223, 121);
/* oklch */ color: oklch(90.4% 0.125 95.9);
Tailwind
colors: {
  custom: {
    50: '#fde8a2',
    500: '#f8df79',
    950: '#000000',
  },
}
SCSS
$custom: #f8df79;
$custom-light: #fde8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df79",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 121
  },
  "hsl": {
    "h": 48.189,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90361,
    "c": 0.12542,
    "h": 95.9
  },
  "luminance": 0.74112
}

Semantic roles & 50–950 ramp

primary
#F8DF79
secondary
#415ED4
accent
#2DE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8DF79

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

Preview Lab → · Contrast checker → · Palette generator →

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