#F8DC79#F8DC79

#F8DC79 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.8% C 0.123 H 94.0°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#F8DC79
RGBrgb(248, 220, 121)
HSLhsl(47, 90%, 72%)
HSVhsv(47, 51%, 97%)
CMYKcmyk(0%, 11.3%, 51.2%, 2.7%)
CIE-LABlab(88.22, -2.57, 51.73)
CIE-LCHlch(88.22, 51.80, 92.84°)
OKLaboklab(89.76% -0.0085 0.1228)
OKLCHoklch(89.76% 0.123 94)
XYZxyz(67.7582, 72.5263, 28.5153)
Luminance0.7252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC79 #7995F8
analogous
#F89D79 #F8DC79 #D4F879
triadic
#F8DC79 #79F8DC #DC79F8
tetradic
#F8DC79 #79F89D #7995F8 #F879D4
square
#F8DC79 #79F89D #7995F8 #F879D4
split-complementary
#F8DC79 #79D4F8 #9D79F8
monochromatic
#EAB90C #F5CD3F #F8DC79 #FBEBB3 #FDF7E2

Accessibility & contrast

On white

1.35
#F8DC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.50
#F8DC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DC79
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DC79#FFFFFF#000000##000000
##F8DC791.001.3515.5015.50
#FFFFFF1.351.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED870
Deuteranopia (green-blind)
#F5E17D
Tritanopia (blue-blind)
#FFCFC5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8dc79;
/* rgb */ color: rgb(248, 220, 121);
/* oklch */ color: oklch(89.8% 0.123 94.0);
Tailwind
colors: {
  custom: {
    50: '#fde6a2',
    500: '#f8dc79',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc79;
$custom-light: #fde6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc79",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 121
  },
  "hsl": {
    "h": 46.772,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.89764,
    "c": 0.12306,
    "h": 94
  },
  "luminance": 0.72523
}

Semantic roles & 50–950 ramp

primary
#F8DC79
secondary
#4162D4
accent
#33E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F8DC79

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

Preview Lab → · Contrast checker → · Palette generator →

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